ObjectCopiedEvent is launched to early

Bug #471088 reported by hoka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope 2
Opinion
Low
Unassigned

Bug Description

OFS.CopySupport -> manage_pasteObjects

notify(ObjectCopiedEvent(ob, orig_ob))

should be launched after ob._postCopy(self, op=0)

For example in plone the uid of the new object is changed after _postCopy and other initialization stuff too. Before postCopy old and new object are not really diffrent.

So i think it only makes sense to launch this event after the new object has finished his initialisation.

Greetings

Changed in zope2:
importance: Undecided → Low
status: New → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.