Bug in trunk

9 views
Skip to first unread message

phipps_73

unread,
Aug 15, 2011, 12:35:00 PM8/15/11
to Reactor
Hi,

I have just downloaded a copy of reactor from svn trunk and I am
unable to get my app to load. The first problem is a definite bug. In
config/config.cfc line 124 there is a closing cftry tag which
shouldn't be there:

<cfloop from="1" to="#ArrayLen(config)#" index="x">
<cfif
listFindNocase("project,dsn,type,mapping,mode,username,password",config[x].XmlName)
gt 0>

<cfinvoke method="set#config[x].XmlName#">
<cfinvokeargument name="#config[x].XmlName#"
value="#config[x].XmlAttributes.Value#" />
</cfinvoke>
</cftry>

</cfif>
</cfloop>

When I comment out this I am still getting errors. The app is using
Coldspring to inject the config settings for reactor and I am getting
the following error:

The property type is missing
The xml node type does not exist in the Reactor XML Config file

yet here is my config from ColdSpring:

<bean id="reactorConfiguration" class="reactor.config.config">
<constructor-arg name="pathToConfigXml">
<value>${pathToConfig}</value>
</constructor-arg>
<property name="project">
<value>${projName}</value>
</property>
<property name="dsn">
<value>${dsnName}</value>
</property>
<property name="type">
<value>${dbType}</value>
</property>
<property name="mapping">
<value>${cfcmapping}</value>
</property>
<property name="mode">
<value>${reactorMode}</value>
</property>
</bean>

I was previously using the 1.0BC version and apart from a random qGet
error was all working.

Does anyone have a working version of a more recent version as the
current trunk is not working (for me anyway).

Cheers,

Dave
Reply all
Reply to author
Forward
0 new messages