-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Description
Description
Release of django-treebeard
4.5 seems introduce breacking change from django-cms
.
IntegrityError at /en/admin/cms/page/add-plugin/
duplicate key value violates unique constraint "cms_cmsplugin_path_4917bb44_uniq"
DETAIL: Key (path)=() already exists.
Steps to reproduce
Steps to reproduce the behavior:
- Install a fresh django-cms or update your dependencies to have treebeard 4.5 installed
- Create a page with no content
- Publish it
- Edit it then add a plugin
- Save our plugin content
- Then boom !
Expected behaviour
I should be able to add a plugin without error.
Actual behaviour
An error occured when I try to save a plugin.
Screenshots
Additional information (CMS/Python/Django versions)
Python: 3.6.11
Django-CMS: 3.8.0
I reproduced this error on a fresh install from Divio.
Quick workaround : Rollback to treebeard 4.4
We identify the following change as potential source of this issue. django-treebeard/django-treebeard#192
kinkerl, mateoreyes, srinathganesh, phriedrich, Honza-m and 9 more
Metadata
Metadata
Assignees
Labels
No labels