Commit 8bcd1c57 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Set _after_clear_reserved to 1 in the method clear.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@919 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 58963432
...@@ -69,6 +69,7 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base): ...@@ -69,6 +69,7 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base):
method() method()
except: except:
pass pass
self._after_clear_reserved = 1
def clearReserved(self): def clearReserved(self):
""" """
...@@ -241,7 +242,7 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base): ...@@ -241,7 +242,7 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base):
if (uid != index): if (uid != index):
# Update uid attribute of object # Update uid attribute of object
uid = int(index) uid = int(index)
# LOG("Write Uid",0, "uid %s index %s" % (uid, index)) #LOG("Write Uid",0, "uid %s index %s" % (uid, index))
object.uid = uid object.uid = uid
# We will check if there is an filter on this # We will check if there is an filter on this
# method, if so we may not call this zsqlMethod # method, if so we may not call this zsqlMethod
......
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