From 2509091c4e2c8f850be7a5748d16f561860b5afb Mon Sep 17 00:00:00 2001 From: helmutm Date: Sun, 26 Sep 2010 08:46:56 +0000 Subject: [PATCH] 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 --- organize/tracking/access.py | 1 + 1 file changed, 1 insertion(+) diff --git a/organize/tracking/access.py b/organize/tracking/access.py index 1be9efa..b4380bf 100644 --- a/organize/tracking/access.py +++ b/organize/tracking/access.py @@ -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: