-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
6.13.0, 7.8.3, 7.11.0, 8.5.5
-
8
-
Severity 3 - Minor
-
3
-
Issue Summary
When editing a page with the collaborative editor, a request to update the page via the REST API will result in duplicated content. This REST update is a seperate action unrelated to the editor.
Generally only content that has been entered into the editor, and not yet published will be duplicated.
Steps to Reproduce
- Create a page with some content, then publish the page
- Edit the page and add some additional content, do not yet publish the page
- Obtain the content of the draft using the REST API
Get Draft Content
GET /content/<content-id>?expand=body.storage&status=draft
- Add additional content to the recently obtained content, and POST it back to Confluence using
Update Page Content
PUT /content/<content-id>?status=draft { "type": "page", "version": {"number": 1}, "space": {"key": "KEYS"}, "status": "current", "title": "Page Title", "body": { "storage": { "value": "<p>already published content</p><p><br /></p><p>some</p><p>new</p><p>changes</p><p>done</p><p>manually</p><p><br /></p><p>API UPDATE</p>", "representation": "storage" } } }
- Head back to the editor and note the duplicated content
- Publish the page and note the content is still duplicated
Expected Results
Confluence should reconcile the difference between the new REST content and the existing content in the editor.
Actual Results
Confluence doesn't correctly reconcile the difference between the REST content and the editor content, resulting in duplicated data.
Workaround
Currently the only workaround is to go back and edit the page to remove the duplicated content. Rolling back to a previous version will result in the loss of content added to the editor but not yet published.
Whilst this issue presents in a similar fashion to CONFSERVER-59227: Duplicate content shown when editing a page, it is unrelated.
- is related to
-
CONFSERVER-99157 Error during linked content reconciliation (triggered by an attachment) causes some linked pages content to be duplicated
-
- Closed
-
- relates to
-
CONFSERVER-59227 Duplicate content shown when editing a page
-
- Closed
-
-
CONFSERVER-68215 Updating a page via REST API corrupts the shared draft if the page had an unpublished draft
-
- Short Term Backlog
-
- mentioned in
-
Page Failed to load
-
Page Failed to load
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
Duplicate Content When Updating Page Via REST Whilst Collaborative Editor Is Open
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
6.13.0, 7.8.3, 7.11.0, 8.5.5
-
8
-
Severity 3 - Minor
-
3
-
Issue Summary
When editing a page with the collaborative editor, a request to update the page via the REST API will result in duplicated content. This REST update is a seperate action unrelated to the editor.
Generally only content that has been entered into the editor, and not yet published will be duplicated.
Steps to Reproduce
- Create a page with some content, then publish the page
- Edit the page and add some additional content, do not yet publish the page
- Obtain the content of the draft using the REST API
Get Draft Content
GET /content/<content-id>?expand=body.storage&status=draft
- Add additional content to the recently obtained content, and POST it back to Confluence using
Update Page Content
PUT /content/<content-id>?status=draft { "type": "page", "version": {"number": 1}, "space": {"key": "KEYS"}, "status": "current", "title": "Page Title", "body": { "storage": { "value": "<p>already published content</p><p><br /></p><p>some</p><p>new</p><p>changes</p><p>done</p><p>manually</p><p><br /></p><p>API UPDATE</p>", "representation": "storage" } } }
- Head back to the editor and note the duplicated content
- Publish the page and note the content is still duplicated
Expected Results
Confluence should reconcile the difference between the new REST content and the existing content in the editor.
Actual Results
Confluence doesn't correctly reconcile the difference between the REST content and the editor content, resulting in duplicated data.
Workaround
Currently the only workaround is to go back and edit the page to remove the duplicated content. Rolling back to a previous version will result in the loss of content added to the editor but not yet published.
Whilst this issue presents in a similar fashion to CONFSERVER-59227: Duplicate content shown when editing a page, it is unrelated.
- is related to
-
CONFSERVER-99157 Error during linked content reconciliation (triggered by an attachment) causes some linked pages content to be duplicated
-
- Closed
-
- relates to
-
CONFSERVER-59227 Duplicate content shown when editing a page
-
- Closed
-
-
CONFSERVER-68215 Updating a page via REST API corrupts the shared draft if the page had an unpublished draft
-
- Short Term Backlog
-
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...