Lola J. Lee Beno wrote:
> Dan Wilson wrote:
>   
>> I appreciate you bringing it up Vlad, If you have trouble, others 
>> might also.
>>     
>
> Here's an issue that comes up when I switch my MG2 app to using MG3:
>
> Element dsn is undefined in a CFML structure referenced as part of an 
> expression.
>   


Following up on this - it appears that this problem was caused by the 
CF9 server not working properly (my app wasn't running in MG2).  After 
rebooting, then checking it in MG2 to make sure it was running properly, 
I then switched it to MG3 and have a totally different error message.  
Line 29 is same as before:    <cfset super.Init(arguments.ModelGlue) />

Error message follows:


The MODELGLUE argument passed to the Init function is not of type 
ModelGlue.unity.framework.ModelGlue.

If the component name is specified as a type of this argument, its 
possible that a definition file for the component cannot be found or is 
not accessible.
 
The error occurred in 
/Library/WebServer/Documents/ModelGlue2/Core/Controller.cfc: line 31
Called from 
/Library/WebServer/Documents/knitlibmg/controller/Controller.cfc: line 29
Called from 
/Library/WebServer/Documents/ModelGlue/gesture/module/XMLModuleLoader.cfc: 
line 203
Called from 
/Library/WebServer/Documents/ModelGlue/gesture/module/XMLModuleLoader.cfc: 
line 95
Called from 
/Library/WebServer/Documents/ModelGlue/gesture/module/XMLModuleLoader.cfc: 
line 81
Called from 
/Library/WebServer/Documents/ModelGlue/gesture/modules/internal/configuration/controller/ConfigurationController.cfc:
 
line 21
Called from 
/Library/WebServer/Documents/ModelGlue/gesture/eventrequest/EventContext.cfc: 
line 298
Called from 
/Library/WebServer/Documents/ModelGlue/gesture/eventrequest/EventContext.cfc: 
line 225
Called from 
/Library/WebServer/Documents/ModelGlue/gesture/eventrequest/phase/Configuration.cfc:
 
line 27
Called from 
/Library/WebServer/Documents/ModelGlue/gesture/eventrequest/EventContext.cfc: 
line 155
Called from 
/Library/WebServer/Documents/ModelGlue/gesture/ModelGlue.cfc: line 215
Called from 
/Library/WebServer/Documents/ModelGlue/gesture/ModelGlue.cfm: line 58
Called from /Library/WebServer/Documents/ModelGlue/ModelGlue.cfm: line 3
Called from /Library/WebServer/Documents/knitlibmg/index.cfm: line 27
29 :
30 :
31 : <cffunction name="Init" access="public" 
returnType="ModelGlue.Core.Controller" output="false" hint="I return a 
new Controller.">
32 :   <cfargument name="ModelGlue" 
type="ModelGlue.unity.framework.ModelGlue" required="true" hint="I am an 
instance of ModelGlue.">
33 :   <cfargument name="name" type="string" required="false" 
default="#createUUID()#" hint="A name for this controller.">



-- 
Lola J. Lee Beno 
LinkedIn: http://www.linkedin.com/in/lolajleebeno
Facebook: http://www.facebook.com/profile.php?id=714355583
Blog: http://www.lolajl.net/blog/


--~--~---------~--~----~------------~-------~--~----~
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to