Intermittent Error

11 views
Skip to first unread message

Matt Gersting

unread,
Mar 8, 2012, 12:01:08 PM3/8/12
to Taffy Users
Hey, gang.
I have a couple different products running Taffy at the moment, and on
one instance I get this error intermittently:


"The component attribute in cfinvoke tag has invalid value. The
component attribute can either be a string (component name) or a
component object

C:\{mypath}\taffy\core\api.cfc
Line 123"

Has anyone encountered this?

Adam Tuttle

unread,
Mar 8, 2012, 12:07:51 PM3/8/12
to taffy...@googlegroups.com
Can you share the code that causes it?

Adam

Adam Tuttle

unread,
Mar 8, 2012, 12:09:14 PM3/8/12
to taffy...@googlegroups.com
Sorry, I was being thick for a second there. I see that you're referring to part of taffy.core.api.cfc...

looking. :)

Adam

Adam Tuttle

unread,
Mar 8, 2012, 12:12:24 PM3/8/12
to taffy...@googlegroups.com
So you're definitely using 1.0. My first thought is to switch to 1.1, if you can.

If you can't, then my next thought is that the times that you're seeing this error, your code is not returning a CFC (which would be done using representationOf()...)

I would expect this to happen if you had:

return "foo";

instead of:

return representationOf( "foo" );

... does that make sense?

Adam
Reply all
Reply to author
Forward
0 new messages