We noticed that if you are inheriting init() or setter methods, and
autowiring them, you have to "touch" all relevant files to get them to
properly show up in metadata. Is that what's happening or you working
directly with the CFC you are adding the args to?

-Dave

On 8/14/06, Mark Mandel <[EMAIL PROTECTED]> wrote:
Heya,

I've come across some weirdness, and I can't quite place where it's coming from

Essentially, I'll be working on an application using ColdSpring, and
I'll be using autowiring to hook all my components together.

I'll change an aspect of my CFC being autowired, i.e. adding a new
argument to the init() function.

Next time I go to create that object, I get an error stating that that
new argument wasn't passed through.

What I then normally have to do is restart CF, and then it works perfectly fine.

Doing some investigation, it seems as if metadata on CFCs get's cached
at a server level, and changing of the file doesn't seem to change it
unless I reset ColdFusion.

This is on a dev server (7.0.2), with trusted cache and the like turned off.

Any thoughts on what could be causing this?

Mark

--
E: [EMAIL PROTECTED]
W: www.compoundtheory.com



Reply via email to