I have already posted about is but to no avail thus far. I believe
this to be a problem with openbd and bd in the way createObject()
works. The same applications work fine under CF8 and Railo running
under Resin.

I run a few sites using the Bytespring cms (modelglue 2 version) This
is available opensourced from

http://www.jmpj.net/jason/index.cfm/2008/4/6/

It is easy to install and works without a database so it takes
seconds.
I am looking to migrate them to a linux box running Openbd.

This application baulks at
an early stage with what seems to be a good tag declaration in Openbd.
I know modelglue2 fails with some render() function and I have got MG3
working with some help from other sources. My error happens before
that.

This is the error:


CFML Runtime Error
Badly formatted tag
Request /index.cfm
File Trace      C:/OpenBD/webroot_cfmlapps/cfmlWebContext_1/index.cfm
|
+-- C:/OpenBD/webroot_cfmlapps/cfmlWebContext_1/ModelGlue/unity/
ModelGlue.cfm
    |
    +-- C:/OpenBD/webroot_cfmlapps/cfmlWebContext_1/ModelGlue/unity/
loader/FrameworkLoader.cfc
        |
        +-- C:/OpenBD/webroot_cfmlapps/cfmlWebContext_1/ModelGlue/
unity/loader/XmlConfigurationLoader.cfc


------cut-----------
Source
231:         <cfset instance.setName(createUUID()) />
232:         <cfset autowireController(instance) />
233:       <cfelseif structKeyExists(ctrl.xmlAttributes, "type")>
234:         <cfset instance = createObject("component",
ctrl.xmlAttributes.type).init(arguments.mg,
ctrl.xmlAttributes.name) /




235:         <cfset autowireController(instance) />
^ Snippet from underlying CFML source

Openbd seems to not like the arguments.mg which is of type component
ModelGlue.unity.framework.ModelGlue [long version]


Any ideas?


Julian



--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official blog @ http://blog.openbluedragon.org/
!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to