ObjectClonedEvent in OFS.CopySupport should probably carry orig_ob too
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
the following snippet is from manage_pasteObjects in http://
ob = ob._getCopy(self)
ob = self._getOb(id)
Why is orig_ob not passed to ObjectClonedEvent as it is in ObjectCopiedEvent? It would be nice to have both ob and orig_ob with acquisition contexts available at the ObjectClonedEvent point. ob at the point of ObjectCopiedEvent has not been set yet and as such this event has limited use when one wants to inspect the new context the object will reside in.
Changed in zope2: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
The zope2 project on Launchpad has been archived at the request of the Zope developers (see https:/ /answers. launchpad. net/launchpad/ +question/ 683589 and https:/ /answers. launchpad. net/launchpad/ +question/ 685285). If this bug is still relevant, please refile it at https:/ /github. com/zopefoundat ion/zope2.