Hendrik, Thanks for taking the time on this. I did the CFDUMPS and the typeID and other info seems to be OK for #1-3. I will check on #5 and #6. As to cf_updateObjectdata; I think this is a reference to a Spectra handler called by a CFMODULE tag in CFA_CONTENTOBJECTDATA; I don't think this was made custom at my company. I have already made a work around fix by simply creating an array with the structure and then using <CFA_CONTENTOBJECTDATA> and <CFA_CONTENTOBJECTPROPERTY> tags to update the object. This seems to work fine, so I might just use the work around and let this issue go.
Cheers, Marc Straka [EMAIL PROTECTED] [EMAIL PROTECTED] writes: >Hi, > >Try to isolate the error with some <cfdump>'s inside >cfa_contentObjectCreate. > >1.) #attributes.typeID# should point to the needed typeID. > >2.) There is a call inside <cfa_contentObjectCreate> to ><cfa_isEmbeddedObject>. This should return "true" in #bIsEmbeddedObject# >since you create an embedded Object inside the original object. > >3.) Dump #stOwnerObject# in the <cfelse> statement (before the call to ><cfa_updateObjectData>) in <cfif not bIsEmbeddedObject> ... <cfelse> >.... </cfif> in cfa_contentObjectCreate. Still the correct TypeID here? > >4.) As i can see you've provided a custom CF_UPDATEOBJECTDATA which may >differ from the original one (see your custom tag stack in your error >message). Did you compare the tag with the original 1.5.2 Tag? Does the >original cfa_updateObjectData Tag (\coapi\utils\) work? > >> CFA_CONTENTOBJECTDATA >> CF_UPDATEOBJECTDATA (!) > >5.) A last thing to try is to dump #stFields# and #stReferenceFields# in >cf(a)_updateobjectdata just before <cfa_recordupdate>. Correct or wrong >typeID here? > >6.) A similar approach to create and update embedded objects in an array >is the way rules are assigned to the container objects: > > <cfa_contentObjectCreate > dataSource="#attributes.dataSource#" > objectID="#containerID#.aRules[#iPosition#]" > typeID="#ruleTypeID#" > label="#rule#" > > > >Can you still add/and or remove rules in a container or does the same >error with wrong typeIDs occurs here, too? > > >Best regards, > >Hendrik Kramer > >Webentwicklung >Lwd e-solutions gmbh +++ kruppstrasse 82-100 +++ 45145 essen >T.: 0201-8 20 20 26 +++ F.: 0201-8 20 20 44 +++ www.lwd.de >+++ e-commerce +++ content management +++ design ===================== Marc Straka Web Applications Engineer Nolo (510) 704-2226 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm ------------------------------------------------------------------------------ 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.
