Is there any way you can create a NON-spectra based reproduceable case? I can get it in the bug tracker for RedSky. (Which doesn't mean it will get fixed of course.)
======================================================================== === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Marc Straka [mailto:[EMAIL PROTECTED] > Sent: Monday, July 14, 2003 12:53 PM > To: Spectra-Talk > Subject: Re: CFMODULE and _contentObjectCopy_resolveOwnerIDs.cfm > > > I may have. The file _contentObjectcopy_resolveOwnerIDs.cfm > which is called through a cfmodule tag in > cfa_contentObjectCopy.cfm was giving me the error, > "Attributes.stObject.objectID does not exist" with the > existing code shown in Case 1 below. I did a <cfa_dump> on > _contentObjectCopy_resolveOwnerIDS.cfm on #attributes# and it > showed me exactly the structure that was being passed in > which had stObject.objectID. For some reason this was not > being interpretted correcly by > _contentObjectCopy_resolveOwnerIDs.cfm. After reading the MX > documentation, I thought perhaps the problem was that the > code was not using attributeCollection. So I replaced the > code in Case 1 with this code (not exactly what I showed in > Case 2). There are redundant variables (objectID and typeID > in ATTRIBUTES as well as in ATTRIBUTES.stObject) being passed > but this seemed necessary to fix the bug: > > <cfset stObjectCopy = duplicate(stObject)> > > <cfset temp = StructNew()> > <cfset temp.stObject=#stObjectCopy#> > > <cfmodule > template="_contentobjectcopy_resolveownerids.cfm" > attributeCollection=#temp# > ownerID="#attributes.copyObjectID#" > dataSource="#attributes.dataSource#" > objectID="#stObjectCopy.objectID#" > typeID="#stObjectCopy.typeid#" > > > > > [EMAIL PROTECTED] writes: > >Correct. If there is, I'd say you found a bug. > > > >============================================================= > ========== > >= > >=== > >Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc > >(www.mindseye.com) > >Member of Team Macromedia > (http://www.macromedia.com/go/teammacromedia) > > > >> > >> So there really shouldn't be any difference between these two > >> sets of code: > >> -------------------------------------------------------------- > >> --------------------- > >> Case 1: > >> --------- > >> <cfset stObjectCopy = duplicate(stObject)> > >> > >> <cfmodule > >> template="_contentobjectcopy_resolveownerids.cfm" > >> stObject="#stObjectCopy#" > >> ownerID="#attributes.copyObjectID#" > >> dataSource="#attributes.dataSource#" > >> > > >> > >> -------------------------------------------------------------- > >> --------------------- > >> Case 2: > >> ---------- > >> > >> <cfset stObjectCopy = duplicate(stObject)> > >> > >> <cfset temp = StructNew()> > >> <cfset temp.stObject=#stObjectCopy#> > >> > >> <cfmodule > >> template="_contentobjectcopy_resolveownerids.cfm" > >> attributeCollection=#temp# > >> ownerID="#attributes.copyObjectID#" > >> dataSource="#attributes.dataSource#" > >> > > >> -------------------------------------------------------------- > > > ===================== > Marc Straka > Web Applications Engineer > Nolo > (510) 704-2226 > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the mailserver that powers this list at http://www.coolfusion.com ------------------------------------------------------------------------------ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
