Commit e12ee765 authored by Yusei Tahara's avatar Yusei Tahara

I added a test for the issue of makeTemplate and manage_afterClone so that

this comment is not necessary.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19607 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent da187a63
......@@ -296,10 +296,6 @@ class CopyContainer:
except WorkflowException:
pass
### Don't call makeTemplate here!!
### At this point, uid of sub object is still old and
### if calling makeTemplate, original document will be unindexed.
# Call a type based method to reset so properties if necessary
script = self._getTypeBasedMethod('afterClone')
if script is not None and callable(script):
......
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