Commit ff008128 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Added commented LOGs

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10051 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3cc639ee
...@@ -188,6 +188,8 @@ class CopyContainer: ...@@ -188,6 +188,8 @@ class CopyContainer:
#LOG("After Clone ",0, "id:%s containes:%s" % (str(item.id), str(container.id))) #LOG("After Clone ",0, "id:%s containes:%s" % (str(item.id), str(container.id)))
# Change uid attribute so that Catalog thinks object was not yet catalogued # Change uid attribute so that Catalog thinks object was not yet catalogued
self_base = aq_base(self) self_base = aq_base(self)
#LOG("After Clone ",0, "self:%s item:%s" % (repr(self), repr(item)))
#LOG("After Clone ",0, "self:%s item:%s" % (repr(self), repr(self.getPortalObject().objectIds())))
portal_catalog = getToolByName(self, 'portal_catalog') portal_catalog = getToolByName(self, 'portal_catalog')
self_base.uid = portal_catalog.newUid() self_base.uid = portal_catalog.newUid()
......
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