[Zope-Checkins] CVS: Packages/OFS - CopySupport.py:1.74

Chris McDonough chrism@digicool.com
Mon, 30 Jul 2001 09:55:10 -0400


Update of /cvs-repository/Packages/OFS
In directory cvs.zope.org:/tmp/cvs-serv31580

Modified Files:
	CopySupport.py 
Log Message:
Fixing collector 2442, changes to copysupport break ZPatterns and Formulator.

 
=== Packages/OFS/CopySupport.py 1.73 => 1.74 ===
                       message=sys.exc_info()[1],
                       action ='manage_main')
+        self._delObject(id)
         ob = aq_base(ob)
         ob._setId(new_id)
         
         # Note - because a rename always keeps the same context, we
         # can just leave the ownership info unchanged.
         self._setObject(new_id, ob, set_owner=0)
-        self._delObject(id)
 
         if REQUEST is not None:
             return self.manage_main(self, REQUEST, update_menu=1)