context may be security proxied, what leads to an AttributeError when trying to open with external editor from ZMI; can be avoided by explicitly removing the security proxy
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@4016 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
b3ecfd24e6
commit
2509091c4e
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ def logAccess(event, baseDir=None):
|
|||
data = event.request.annotations.get(request_key)
|
||||
if not data:
|
||||
return
|
||||
context = removeSecurityProxy(context)
|
||||
options = IOptions(context.getLoopsRoot())
|
||||
logfileOption = options(logfile_option)
|
||||
if not logfileOption:
|
||||
|
|
Loading…
Add table
Reference in a new issue