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
Demoting wizard AlreadyRegisteredException to warning #5060
Comments
+1 When I encountered this, it prevented me from doing anything in Edit Mode |
Ping @divio/django-cms-core for opinions |
@yakky While I agree that the error is not urgent, I think the current behavior is correct and in alignment with the way django's admin and cms plugins handle such a scenario. As far as I understand it, a duplicate wizard can only happen due to a programming error and so it should fail on startup (just like the admin). |
I encountered this error randomly, without knowing how it happened,
|
@bxm156 sounds like we need to track this down then. Did you happen to preserve the resulting stack trace? If not, but it happens again, we'd really like to see that. |
I should have it in my cloud watch logs. I'll pull it up and post it here
|
|
@mkoistinen for some reason I can't reproduce, the blog wizard registration is called more than once (see nephila/djangocms-blog#217). |
Hello @bxm156, |
Yes, I just managed to reproduce it. Django-CMS 3.4.5 |
@plamen-nikolov would you be able to provide us with instructions or playground project where this is reproducible? |
Ping @plamen-nikolov |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This will now be closed due to inactivity, but feel free to reopen it. |
How about demoting AlreadyRegisteredException (https://github.com/divio/django-cms/blob/release/3.2.x/cms/wizards/wizard_pool.py#L78) to a simple warning?
As this is raised on every page in edit mode, user has little / no way to recover from the situation: the CMS can just skip the duplicate wizard, the error itself it's not that grave to return a full exception
The text was updated successfully, but these errors were encountered: