Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template overrides don't work if the global site manager is stacked #6

Open
rpatterson opened this issue Oct 9, 2018 · 0 comments
Open
Labels

Comments

@rpatterson
Copy link

The zope.component.getGlobalSiteManager may be stacked (using __bases__) such that if nothing is found for the first site manager, lookup continues down the stack. This is valid ZCA usage and is used, for example, in tests that use plone.testing and plone.app.testing. However, z3c.jbot does some custom ZCA lookup using private internals and doesn't reproduce the stacked behavior. This means that under any stacked global ZCA behavior the template overrides don't take effect. For example, this means that overridden tests aren't testable under plone.app.testing.

@mgedmin mgedmin added the bug label Oct 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants