[Zope] manage_renameObject

Jason Spisak jason@mtear.com
Thu, 09 Sep 1999 19:11:33 GMT


Thanks for the object reference.
I hope I can call this on an object that can't give me it's current id with
var.

Jason

Robert Leftwich writes:

> In lib\python\OFS\CopySupport.py
> 
> 	def manage_renameObject(self, id, new_id, REQUEST=None):
> 
> It needs the current id, the new id and optionally the request.
> This applies to Zope 2 and 1.10.3
> 
> Robert Leftwich
> 
> 
> Jason Spisak wrote:
> > 
> > I am trying to rename an object as a workaround for a zope bug.
> > I am having trouble finding manage_renameObject in the source.
> > Besides the object's new id, it wants another argument.  Does anyone
> > know what that is?
> > 
> > --
> > Jason Spisak
> > webmaster@hiretechs.com
> > 
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://www.zope.org/mailman/listinfo/zope
> > 
> > (To receive general Zope announcements, see:
> > http://www.zope.org/mailman/listinfo/zope-announce
> > 
> > For developer-specific issues, zope-dev@zope.org -
> > http://www.zope.org/mailman/listinfo/zope-dev )