Commit 576bea44 authored by Vincent Pelletier's avatar Vincent Pelletier

Check that node is not identified in NodeManager.remove .

If it is still identified, the node would still be referenced in node
manager although having been asked for removal.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2051 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 0ae50a9f
......@@ -281,6 +281,7 @@ class NodeManager(object):
self.__drop(self._uuid_dict, node.getUUID())
self.__dropSet(self._state_dict, node.getState(), node)
self.__dropSet(self._type_dict, node.__class__, node)
assert not node.isIdentified()
self._updateIdentified(node)
def __drop(self, index_dict, key):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment