Commit ad9767f8 authored by Sebastien Robin's avatar Sebastien Robin

fixed a bug, when there is no index in the matrix, then XMLMatrix can take the...

fixed a bug, when there is no index in the matrix, then XMLMatrix can take the index of the parent and change it


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3090 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 18f30b33
......@@ -167,7 +167,7 @@ class XMLMatrix(Folder):
new_index = PersistentMapping() # new_index defines the relation between keys
# and ids of cells
if not hasattr(self, 'index'):
if not hasattr(aq_base(self), 'index'):
self.index = PersistentMapping()
# Return if previous range is the same
......
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