On 14 Jul 2006, at 15:09, Doug Boude wrote:

I receive the error whenever the wizardcontroller is instantiated:
The argument PCONTROLLER passed to function init() is not of type controller.productcontroller. On an interesting side note, if i change the type argument to "Any", i get no error, but the object that gets injected into the PController variable is ModelGlue.unity.framework.ModelGlue

In my experience, the best way to hunt down errors like this is to create some test cases (using cfcUnit, perhaps) that will exercise your components in the way that you wish ColdSpring to do it. I don't know if this is possible in your case because it seems like your controllers extend some ModelGlue CFCs. Assuming it is possible, you may be able to make the error will be more apparent without the ColdSpring layer catching an exception that might lead you to the root cause.

Also, if you're using a case-sensitive filesystem, it's worth double- checking that all your type/returntype attributes in your CFCs match the actual filenames.

Good luck.

--
Joseph Lamoree


Reply via email to