Commit 07f531a0 authored by Nicolas Dumazet's avatar Nicolas Dumazet

we don't use opaque objects, and this method causes problems as it

tries to load portal subobjects too early.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38644 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 336e53c6
......@@ -353,6 +353,12 @@ class ERP5Site(FolderMixIn, CMFSite):
security.declareProtected(Permissions.AccessContentsInformation, 'getPath')
getPath = getUrl
security.declareProtected(Permissions.AccessContentsInformation, 'opaqueValues')
def opaqueValues(self, *args, **kw):
# XXX nonsense of inheriting from CMFSite that calls __before_traversal__
# and tries to load subobjects of the portal too early
return []
security.declareProtected(Permissions.AccessContentsInformation, 'objectValues')
def objectValues(self, *args, **kw):
# When stepping in an ERP5Site from outside,
......
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