BTreeContainer notifies about events before they happen

Bug #705600 reported by Marius Gedminas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zope.container
Invalid
Undecided
Unassigned

Bug Description

BTreeContainer.__delitem__ emits ObjectRemovedEvent and ContainerModifiedEvent before it actually removes that item from its data store. This means that if I list() that container in an event handler, I still see the deleted item.

Revision history for this message
Marius Gedminas (mgedmin) wrote :

Fixed in r119803, will be out with zope.container 3.12.1.

Changed in zope.container:
status: New → Fix Committed
Revision history for this message
Colin Watson (cjwatson) wrote :

The zope.container 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/zopefoundation/zope.container.

Changed in zope.container:
status: Fix Committed → Invalid
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.