[zope2-tracker] [Bug 870921] [NEW] AccessControl redefines zcml class directive without factory subdirective

Patrick Gerken 870921 at bugs.launchpad.net
Sat Oct 8 14:54:05 EST 2011


Public bug reported:

Both AccessControl and zope.security declare the zcml directive class.
AccessControl first loads zope.security.
Both do not define a discriminator, because of that, there will be no ConfigurationConflict.
Because AccessControl depends on zope.security, it will always overwrite the configuration of zope.security.
AccessControl does NOT declare the subdirective factory.
If one uses the subdirective factory, like zope.site does, zope does not know how to handle it, because it only uses the subdirectives declared in AccessControl.

I think this is an error in AccessControl, but since this configuration
looks like copied from zope.security, just without that specific
subdirective, I assume there must be a reason for it and the real
culprit is somewhere else.

** Affects: zope2
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.
https://bugs.launchpad.net/bugs/870921

Title:
  AccessControl redefines zcml class directive without factory
  subdirective

To manage notifications about this bug go to:
https://bugs.launchpad.net/zope2/+bug/870921/+subscriptions


More information about the zope2-tracker mailing list