Commit 6dc41af4 authored by Yoshinori Okuji's avatar Yoshinori Okuji

object_path was not defined in a certain case.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38004 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 381c5ebb
......@@ -130,6 +130,7 @@ class TrashTool(BaseTool):
# export subobjects
if save:
obj = backup_object_container._getOb(object_id)
object_path = list(obj.getPhysicalPath())
else:
object_path = container_path + [object_id]
obj = self.unrestrictedTraverse(object_path)
......
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