I just downloaded the latest reactor and model glue updates. I am still
getting the following error shown below which I believe to be on the Model
Glue side but I could be wrong. I have included the function that is
generating the error below the error message and I have highlighted line 78
where the error is occuring.
Bryan
On 12/19/06, Brian Kotek <[EMAIL PROTECTED]> wrote:
Yesterday.
On 12/19/06, Bryan S <[EMAIL PROTECTED]> wrote:
>
> Beth
>
> ??? When was the fix applied? I'm pretty up to date. I was sure this was
> a
> Model Glue problem.
>
> Bryan
Message Element APM_APP_MAIN_ID is undefined in a Java object of type
class coldfusion.runtime.TemplateProxy referenced as
Detail
Extended Info
Tag Context
D:\Inetpub\wwwroot\ModelGlue\unity\controller\ReactorORMController.cfc (78)
D:\Inetpub\wwwroot\ModelGlue\unity\listener\Listener.cfc (26)
D:\Inetpub\wwwroot\ModelGlue\unity\eventrequest\MessageBroadcaster.cfc (32)
D:\Inetpub\wwwroot\ModelGlue\unity\framework\ModelGlue.cfc (361)
<cffunction name="genericRead" access="public" returntype="void"
output="false">
<cfargument name="event" type="ModelGlue.unity.eventrequest.EventContext"
/>
<cfset var table = arguments.event.getArgument("object") />
<cfset var recordName = arguments.event.getArgument("recordName", table
& "Record") />
<cfset var criteriaValues = arguments.event.getArgument("criteria") />
<cfset var criteria = structNew() />
<cfset var result = "" />
<cfset var i = "" />
<cfset var isNew = true />
<cfset var templateTO = getOrmAdapter().new(table)._getTO() />
<cfif not arguments.event.valueExists(recordName)>
<cfloop list="#criteriaValues#" index="i">
THIS IS LINE 78<cfset criteria[i] = arguments.event.getValue(i,
templateTO[i]) />
</cfloop>
<cftry>
<cfset result = getOrmAdapter().read(table, criteria) />
<cfcatch>
<cfset result = getOrmAdapter().new(table) />
</cfcatch>
</cftry>
<cfset arguments.event.setValue(recordName, result) />
</cfif>
</cffunction>
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --