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

MultiColumnPlugin causes AttributeError #10

Open
asmaps opened this issue Dec 9, 2013 · 0 comments
Open

MultiColumnPlugin causes AttributeError #10

asmaps opened this issue Dec 9, 2013 · 0 comments

Comments

@asmaps
Copy link

asmaps commented Dec 9, 2013

Sometimes after adding a MultiColumnPlugin the page containing it completely breaks and only throws

AttributeError at /en/home/
'NoneType' object has no attribute 'get_plugin_class'

in https://github.com/divio/django-cms/blob/develop/cms/middleware/toolbar.py#L29
'instance' in this context comes from https://github.com/divio/django-cms/blob/develop/cms/models/pluginmodel.py#L171 where a "DoesNotExist" exception is raised and so instance = None. I tried to figure out how to fix it but I wasn't successful. The problem only seems to occur with MultiColumnPlugin - maybe it doesn't save something I think. Somebody who knows the code better should look after it. Unfortunately I don't know how to reproduce it - I just added a MultiColumn and it broke (using the cms from git in branch develop).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant