[Zope-dev] Bug in TransparentFolders ???

Andre Schubert andre.schubert@geyer.kabeljournal.de
Fri, 29 Jun 2001 11:32:56 +0200


Hi all,

i think i have found a bug in using TransparentFolders.
Let it explain step by step.
First the Structure:

Folder_A
    Folder_B_Transparent

You have Folder( Folder_A )  and create a new TransparentFolder
Folder_B_Transparent in Folder_A.
Then go to the SecurityManagement of the Folder_B_Transparent  and
Disable the acquire permission setting of any permission(s),
maybe Use MailHost Service or so, and save the changes.
Then go Back to the Folder_A and try to open the SecurityTab of
Folder_A.
I got the following error only if any acquire permission setting is
disabled in Folder_B_Transparent:

<!--
Traceback (innermost last):
  File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 223,
in publish_module
  File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 187,
in publish
  File /usr/share/zope/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
    (Object: Traversable)
  File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 171,
in publish
  File /usr/lib/python1.5/site-packages/ZPublisher/mapply.py, line 160,
in mapply
    (Object: manage_access)
  File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 112,
in call_object
    (Object: manage_access)
  File /usr/share/zope/lib/python/AccessControl/Role.py, line 257, in
manage_access
    (Object: Traversable)
  File /usr/share/zope/lib/python/Shared/DC/Scripts/Bindings.py, line
324, in __call__
    (Object: _normal_manage_access)
  File /usr/share/zope/lib/python/Shared/DC/Scripts/Bindings.py, line
354, in _bindAndExec
    (Object: _normal_manage_access)
  File /usr/share/zope/lib/python/App/special_dtml.py, line 236, in
_exec
    (Object: _normal_manage_access)
  File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_With.py,
line 146, in render
    (Object: _.namespace(valid_roles=valid_roles()))
  File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_In.py, line
650, in renderwob
    (Object: permission_settings)
  File /usr/share/zope/lib/python/AccessControl/Role.py, line 182, in
permission_settings
    (Object: Traversable)
  File /usr/share/zope/lib/python/AccessControl/Role.py, line 177, in
<lambda>
AttributeError: (see above)
-->

thanks, as