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

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


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

Modified Files:
      Tag: Zope-2_4-branch
	CopySupport.py 
Log Message:
Collector 2442, changes to copysupport break ZPatterns and Formulator.

 
=== Packages/OFS/CopySupport.py 1.72.2.1 => 1.72.2.2 ===
                       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)