Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assert location for all adapters that require any dedicated permission:
If the permission attribute is used in the adapter directive and the permission is not zope.Public, then: If the adapter doesn't provide ILocation, we location proxy it and set the parent. If the adapter does provide ILocation and it's __parent__ is None, we set the __parent__. TODO: I do not unterstand three tests inside zope.app.component.tests.test_directives. I've got pickable errors within zope.app.intid's functional tests. As a workaround I derive zope.app.keyreference.persistent.KeyReferenceToPersistent from location. I marked those issues with # TODO: I do not understand that test
- Loading branch information