Commit d68829c7 authored by Yusei Tahara's avatar Yusei Tahara

Revert last change, unittests are failing due to it.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31227 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f03d8f09
......@@ -491,8 +491,6 @@ class TempDocumentConstructor(DocumentConstructor):
def __call__(self, folder, id, REQUEST=None,
activate_kw=None, is_indexable=None, reindex_kw=None, **kw):
o = self.klass(id)
# Use the real container instead of the factory dispatcher.
folder = folder.Destination()
if folder.isTempObject():
folder._setObject(id, o)
o = o.__of__(folder)
......
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