28 Jul
2005
28 Jul
'05
7:16 p.m.
rr@nederhoed.com wrote at 2005-7-28 13:24 +0200:
... if I use root = context.getPhysicalRoot()
I am forced to reenter my Zope username and password and will not get permission to call the getPhysicalRoot function.
What am I doing wrong?
For unknown reasons, "getPhysicalRoot" is private. The standard workaround looks like this: root = container.restrictedTraverse('/') Of course, it is stupid to make "getPhysicalRoot" private when it is so easy to access the root anyway... -- Dieter