Just as an update, this is what I'm seeing. When a draft copy of a dmHTML object is made all containers associated with that page are copied and references associating these draft containers to the draft page are made in REFCONTAINERS. This appears to be working fine. However, if I preview the new page and attempt to edit a shared container I'm directed to the original container, not the new copy. I'm still looking into this, but this seems to be the root of the problem.
>-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf >Of Nathan Mische >Sent: Monday, October 11, 2004 1:15 PM >To: FarCry Developers >Subject: [farcry-dev] Container Problem > > >I'm having a problem that I hope someone can at least confirm. >I have a dmHTML page that has several page specific containers >(ie. <container >label="#stobj.objectID#_news">) and one shared container (ie. ><container label="footer">). I can move the page to draft with >no problem, but when trying to move the draft version live I >get the following error. > >***************** > >Parameter 2 of function Left which is now -1 must be a positive integer > > >The error occurred in E:\fourq\_fourq\createData.cfm: line 178 >Called from E:\fourq\fourq.cfc: line 123 Called from >E:\farcry_core\packages\rules\rules.cfc: line 37 Called from >E:\farcry_core\packages\rules\container.cfc: line 129 Called from >E:\farcry_core\packages\farcry\_versioning\sendObjectLive.cfm: >line 73 Called from >E:\farcry_core\packages\farcry\versioning.cfc: line 42 Called >from E:\farcry_core\tags\navajo\objectStatus.cfm: line 298 >Called from E:\farcry_core\tags\navajo\objectStatus.cfm: line >120 Called from E:\farcry_core\tags\navajo\objectStatus.cfm: >line 118 Called from >E:\farcry_core\tags\navajo\objectStatus.cfm: line 1 Called >from E:\farcry_core\admin\navajo\approve.cfm: line 4 > >176 : <cfif loops eq i> >177 : <!--- trim off the last comma from sql ---> >178 : <cfset sqlcol = left(sqlcol, len(trim(sqlcol))-1)> >179 : <cfset sqlval = left(sqlval, len(trim(sqlval))-1)> >180 : </cfif> > >***************** > >I've tracked the problem down to the shared footer container >which contains a handpicked rule. For some reason when moving >the draft version live, the copying of this container fails. >What is very problematic is that when moving the draft version >live fails, all containers on the original, live page are >deleted. I'm running p220. Has anyone else seen this? > >Thanks, > >--Nathan > > > >--- >You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] >To unsubscribe send a blank email to >[EMAIL PROTECTED] >Aussie Macromedia Developers: http://lists.daemon.com.au/ > > --- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
