Commit 9adc8048 authored by Jérome Perrin's avatar Jérome Perrin

Make sure the object is an acquisition wrapper before building path

items.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5932 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9179bead
......@@ -734,6 +734,7 @@ class PathTemplateItem(ObjectTemplateItem):
for relative_url in self._resolvePath(p, [], path.split('/')):
obj = p.unrestrictedTraverse(relative_url)
obj = obj._getCopy(context)
obj = obj.__of__(context)
id_list = obj.objectIds()
obj = self.removeProperties(obj)
if hasattr(aq_base(obj), 'groups'):
......
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