BTreeContainer notifies about events before they happen

Bug #705600 reported by Marius Gedminas on 2011-01-20
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.

Marius Gedminas (mgedmin) wrote :

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

Changed in zope.container:
status: New → Fix Committed
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  Edit
Everyone can see this information.

Other bug subscribers