Ticket #282 (closed defect: fixed)

Opened 19 years ago

Last modified 19 years ago

Fix for Variable orm is undefined when updating record

Reported by: Bryan S Owned by: somebody
Priority: high Milestone:
Version: 2.0.304 Severity: major
Keywords: Cc:

Description

When updating a record on a form for a table with child relationships this error message is generated

Message Variable orm is undefined. Detail Extended Info Tag Context D:\Inetpub\wwwroot\ModelGlue?\unity\orm\ReactorAdapter?.cfc (501) D:\Inetpub\wwwroot\ModelGlue?\unity\controller\GenericORMController.cfc (161) 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 (359) D:\Inetpub\wwwroot\ModelGlue?\unity\framework\ModelGlue?.cfc (332) D:\Inetpub\wwwroot\ModelGlue?\unity\framework\ModelGlue?.cfc (306) D:\Inetpub\wwwroot\ModelGlue?\unity\framework\ModelGlue?.cfc (264) D:\Inetpub\wwwroot\ModelGlue?\unity\ModelGlue?.cfm (104) D:\Inetpub\wwwroot\appmanager\index.cfm (50)

modifying line 500 of \ModelGlue?\unity\orm\ReactorAdapter?.cfc

as follows fixes the problem

<!--- ORIGINAL CODE
<cfset orm.commit(table, record) />
--->
<!--- FIX --->	
<cfset commit(table, record) />

Change History

Changed 19 years ago by joe.rinehart

  • status changed from new to closed
  • resolution set to fixed

(In [291]) Fixes #282

Note: See TracTickets for help on using tickets.