-
Bug
-
Resolution: Fixed
-
Medium
-
6.10.1
-
8
-
Severity 3 - Minor
-
8
-
Background
Duplicates in confancestors appear if collaborative editing is enabled, and dark feature editor.ajax.save.disable is enabled as well.
How to reproduce
- Enable collaborative editing
- Enable editor.ajax.save.disable dark-feature
- Create a new page and save it
- Check that duplicates appeared in confancestor table
Technical details
When editor.ajax.save.disable is enabled and user saves a page, docreatepage.action is called. Method AbstractCreatePageAction.doAdd calls assignParentPage(draft, getParentPage()) method which adds a child, and adds ancestors to the child.
But the child already had ancestors before, so assignParentPage adds duplicates.
The method "assignParentPage" is not called if collaborative editing is disabled.
To check if the dark-feature is enabled, go to <CONFLUENCE_URL>/admin/darkfeatures.action
- is related to
-
CONFSERVER-54945 CONFANCESTORS table obtains duplicate record after a page page re-order to space root
- Closed
-
CONFSERVER-52736 Ancestor table is broken after reordering pages and applying restrictions
- Closed