I recently upgraded to r419 of reactor to fix a CF6.1 issue with
something else. However I'm now getting
Oops!
Message Variable RECORD is undefined.
Detail
Extended Info
Tag Context C:\Inetpub\wwwroot\reactor\iterator\iterator.cfc (188)
C:\Inetpub\wwwroot\reactor\iterator\iterator.cfc (251) etc...
My controller is doing the following:
<!--- schema: driver -< cars -< reservedSpace >- parkingSpace --->
<!--- delete the driver and all associated records --->
<cfset driver =
reator.createRecord('tbl_driver').load(driverId=arguments.event.getValue('driverId')>
<cfset driverCars = driver.getTbl_CarIterator()>
<!--- delete all of the reserved spaces --->
<cfloop condition="driverCars.hasMore() IS true">
<cfset thisCar = driverCars.getNext()>
<cfset thisCar.getTbl_ReservedSpaceIterator().deleteAll()> <!---
here's where it blows up --->
</cfloop>
<cfset driverCars.deleteAll()>
<cfset driver.delete()>
Revision 408 of /reactor/iterator/iterator.cfc works fine for me, but
410 and later break.
Anyone else having problems with deleteAll?
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --