Thought I'd post this out to the list for opinions or advice. Recently while updating some CFC stuff (Model-Glue, and later Reactor), I've gotten some random errors to the effect of "the CFC returned from method X is not of type
some.cfc.type". This is very odd becuase I can go into the method in question and dump what it is returning, and it IS of the correct type, it says so right at the top of the dump table. I've seen some similar posts on the Modle-Glue list and the Reactor list, but I'm thinking it must be a more general CFC issue which is why I'm posting it here.
I've found that usually going into the CF admin and clearing the template cache seems to fix this. However, this is on my local machine. I'm a bit worried that if we deploy to a production server and this happens, I have much less control over it. So I was hoping to find out WHY this is happening. Are others here on the list ever experiencing this? I had never seen this before until recently, when updating some of the new, larger CFC-driven frameworks and APIs.
Anyone have opinions, info or advice?
Thanks,
Brian
----------------------------------------------------------
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]
- [CFCDev] CFC typing errors when there should be none? Brian Kotek
- Re: [CFCDev] CFC typing errors when there should be ... Ryan Guill
- Re: [CFCDev] CFC typing errors when there should... Brian Kotek
- Re: [CFCDev] CFC typing errors when there sh... Brian Kotek
- Re: [CFCDev] CFC typing errors when ther... Ryan Guill
- Re: [CFCDev] CFC typing errors when... Brian Kotek
- Re: [CFCDev] CFC typing errors ... Peter J. Farrell
- Re: [CFCDev] CFC typing err... Brian Kotek
- Re: [CFCDev] CFC typing err... Peter J. Farrell
- RE: [CFCDev] CFC typing err... Roland Collins
- Re: [CFCDev] CFC typing err... Brian Kotek
