-
Notifications
You must be signed in to change notification settings - Fork 64
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
KeyError occurs when CMS toolbar is visible in Django CMS 3.11.8 #214
Comments
Thank you for the fix! What's the state of it? Is there a timeline for its release? |
@tschale @jdgoettsch Hi everyone! I've just released 1.4.5 version with the fix from @jdgoettsch . Could you please check and report if everything works as expected now? |
Thank you! I'll write as soon as I've tried it out. It might take a couple of weeks though, until I work on that project again. |
@protoroto This works now (django-cms 3.11.9, django 4.2.18). Thank you and also @jdgoettsch! |
@tschale Thanks for the feedback! I'll close this issue then :) |
Description
PageToolbarMeta.populate
uses incorrect permission name to check if a user has change permission on the current page, causing aKeyError
to be raised with django-cms >= 3.11.8.Steps to reproduce
Versions
Python 3.10.14
Django 4.2.16
django-cms. 3.11.8
Expected behaviour
Page loads without crashing.
Actual behaviour
KeyError
occurs and page crashes.Additional information
In
djangocms_page_meta/cms_toolbars.py
on line 39, "change" should instead be "change_page".The text was updated successfully, but these errors were encountered: