Commit d233d028 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Should not set acquistion wrappers in a folder.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3926 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 58fd7da4
......@@ -241,7 +241,7 @@ class XMLMatrix(Folder):
object.isIndexable = 0 # block reindexing at this time
object.id = new_name
#LOG("Set Object",0, str(new_name))
self._setObject(new_name, object)
self._setObject(new_name, aq_base(object))
#LOG("Del Object",0, str(object_id))
self._delObject(object_id)
......@@ -282,7 +282,7 @@ class XMLMatrix(Folder):
o.id = new_name
new_object_id_list.extend(new_name)
#LOG("Set2 Object",0, str(new_name))
self._setObject(new_name,o)
self._setObject(new_name, aq_base(o))
#LOG("Del2 Object",0, 'temp_' + str(object_id))
self._delObject('temp_' + object_id) # In all cases, we have to remove the temp object
o.isIndexable = 1 # reindexing is possible again
......
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