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

manage_menu breaks on plone.testing #309

icemac opened this Issue Aug 29, 2018 · 0 comments


2 participants

icemac commented Aug 29, 2018

When calling http:/localhost/manage_menu in a test environment where plone.testing is used
then the rendering breaks at App/dtml/menu.dtml#L19 when trying to access Control_Panel.

The reason are some speed optimisations in plone.testingwhich prevent OFS.Application.initialize from being called which creates the APP_MANAGER aka Control_Panel.

Possible solution: Use try-except block around the lines which list the databases in menu.dtml. (I'd like to keep the feature of the listed databases as it shortens the click path to the Undo tab.)

Problem: zopefoundation/DocumentTemplate#25 prevents this solution from working in Python 2.

@icemac icemac added the bug label Aug 29, 2018

@icemac icemac added this to the 4.0 final milestone Aug 29, 2018

@icemac icemac added this to To do in Zope 4 final release via automation Aug 29, 2018

@sallner sallner self-assigned this Oct 3, 2018

@icemac icemac moved this from To do to In progress in Zope 4 final release Oct 3, 2018

@sallner sallner moved this from In progress to Needs review in Zope 4 final release Oct 3, 2018

@sallner sallner closed this in #349 Oct 4, 2018

Zope 4 final release automation moved this from Needs review to Done Oct 4, 2018

@icemac icemac modified the milestones: 4.0 final, 4.0b6 Oct 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment