Ticket #186 (closed defect: invalid)
Unable to create scaffolds
| Reported by: | rsession | Owned by: | somebody |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Version: | 2.0.304 | Severity: | blocker |
| Keywords: | Cc: |
Description
Whenever I try to declare a scaffold in ModelGlue?.xml, I get the following error. I'm not sure what exactly is causing this error or how to solve it. _
The argument OBJECTMETADATA passed to function init() is not of type ModelGlue?.unity.orm.ObjectMetadata?. If the component name is specified as a type of this argument, the reason for this error might be that a definition file for such component cannot be found or is not accessible. The error occurred in C:\Apache\Apache2\www\ModelGlue?\unity\eventhandler\scaffold\List.cfc: line 1 Called from C:\Apache\Apache2\www\ModelGlue?\unity\eventhandler\EventHandlerFactory?.cfc: line 41 Called from C:\Apache\Apache2\www\ModelGlue?\unity\loader\XmlConfigurationLoader?.cfc: line 343 Called from C:\Apache\Apache2\www\ModelGlue?\unity\loader\XmlConfigurationLoader?.cfc: line 47 Called from C:\Apache\Apache2\www\ModelGlue?\unity\loader\FrameworkLoader?.cfc: line 60 Called from C:\Apache\Apache2\www\ModelGlue?\unity\ModelGlue?.cfm: line 37 Called from C:\Apache\Apache2\www\ls2custom_mg\Index.cfm: line 33
1 : <cfcomponent displayName="Event" output="false" hint="I am metadata about List scaffold." extends="ModelGlue?.unity.eventhandler.EventHandler?"> 2 : <cffunction name="init" returnType="ModelGlue?.unity.eventhandler.EventHandler?" output="false" hint="I build a new event."> 3 : <cfargument name="objectMetadata" type="ModelGlue?.unity.orm.ObjectMetadata?" required="true" />
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)