Sorry for the poorly formatted code sample below.  Here it is again with a
line break...

coverageID = reReplaceNoCase( li, "\AOPT_([0-9]+)\Z", "\1" );
oCoverage = MaintenancePlanService.getCoverage( props : { coverageID =
coverageID } );

I've implemented a work-around by omitting the inline structure notation.

props = structNew();
props.coverageID = reReplaceNoCase( li, "\AOPT_([0-9]+)\Z", "\1" );
oCoverage = MaintenancePlanService.getCoverage( props = props );

-----Original Message-----
From: Jason Durham [mailto:jdur...@cti-stl.com]
Sent: Friday, October 08, 2010 4:41 PM
To: cf-talk
Subject: RE: Broken code after CF9.01 patch


Correction... that's the 9.0.1 patch.  The filename was
ColdFusion_update_901_WWEJ_win64.exe on Windows 7 Pro 64 bit using IIS7 with
the IIS compatibility stuff still active.

-----Original Message-----
From: Jason Durham [mailto:jdur...@cti-stl.com]
Sent: Friday, October 08, 2010 4:37 PM
To: cf-talk
Subject: Broken code after CF9.1 patch


Today, I patched my CF9 development machine with the latest .exe available
from Adobe.  The following code is now broken...


Transfer ORM throws an exception because coverageID is empty.   If I dump
the arguments in getCoverage(), I see a struct with a single key of
"coverageID" and an [empty string] value.  However, if I dump coverageID
before the Service is called (after first line  above), I see that
coverageID = 3.

Has anyone else experienced a similar problem?

________________________________
Confidentiality Warning: This e-mail contains information intended only for
the use of the individual or entity named above. If the reader of this
e-mail is not the intended recipient or the employee or agent responsible
for delivering it to the intended recipient, any dissemination, publication
or copying of this e-mail is strictly prohibited. The sender does not accept
any responsibility for any loss, disruption or damage to your data or
computer system that may occur while using data contained in, or transmitted
with, this e-mail. If you have received this e-mail in error, please
immediately notify us by return e-mail.






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338030
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to