Robert,

Try doing something so that CFAS refreshes the compiled version of that file. Maybe "touch" it on the server and resave it.

I seem to remember that this can happen if CF doesn't for some reason recompile your template. I've run into this a few times ... the template was changed on my dev server, but when uploaded, somehow the production server didn't recognize that it had changed and it wasn't recompiled.

Robert Munn wrote:
I have a strange problem in an app I just deployed to QA. I have a folder where I am storing some common components in a path like this:

"com.invitrogen.config.<componentname>"

The return type on the init function is fully qualified to that path, and in dev that all works just kosher. However, in QA I get this error:

The value returned from function init() is not of type com.invitrogen.config.<componentname>


When I change the returntype to "any" and dump the object, it spits out <componentname> without the full path, which is why I assume it is failing on QA. Can anyone duplicate a problem like that? Could it be a version-specific bug on 6.1? I should mention we had this problem in another app on 6.1 a little while ago and never did figure out exactly what the problem was. We made sure everyone was fully qualifying paths and that worked, but that is already the case in my other code.

--
---------------
Robert Munn
www.funkymojo.com ----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]


--


Aria Media Sagl
CP 234
6934 Bioggio
Switzerland
www.aria-media.com


Reply via email to