GenericView bug fix: set self.__parent__ on __init__ to make security machinery happy
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@1360 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
f9b5b70e1d
commit
f527de4f21
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class GenericView(object):
|
|||
controller = property(getController, setController)
|
||||
|
||||
def __init__(self, context, request):
|
||||
self.context = context
|
||||
self.context = self.__parent__ = context
|
||||
self.request = request
|
||||
#cont = self.controller # check: leads to strange AttributeError in doctest
|
||||
#if cont is not None:
|
||||
|
|
Loading…
Add table
Reference in a new issue