This issue has been created
There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-6703f1a8-e06f-4bc1-89fd-f70fa37b6c04 XWIKI-23708 Open

Deleting revisions doesn't delete the changed content

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-305caa69-a7c8-4fac-b9e6-e356d4f77ac9 Vincent Massol created this issue on 12/Nov/25 14:53
 
Summary: Deleting revisions doesn't delete the changed content
Issue Type: cid:jira-generated-image-avatar-6703f1a8-e06f-4bc1-89fd-f70fa37b6c04 Bug
Affects Versions: 16.10.0
Assignee: Unassigned
Components: Old Core
Created: 12/Nov/25 14:53
Priority: cid:jira-generated-image-static-major-ae898af3-7aad-40ba-96fe-8cf3c8996c49 Major
Reporter: Vincent Massol
Description:

Deleting revisions only removes the version in the history but the modified content is not only not removed but it is associated to the author or the next revision, implying that the change was done by that author.

Use case example: Someone brings some wrong changes to a document (like some spam content for ex). Then someone else doesn't notice these changes and make changes to other parts of the document and saves. Removing the revision from the 1st author makes its changes associated to the next author... (who becomes the spammer in case of spam).

Note that removing the last revision is the only case where deleting it removes the content (since it acts as a rollback to the previous revision).

 
 

1 comment

 
cid:jira-generated-image-avatar-305caa69-a7c8-4fac-b9e6-e356d4f77ac9 Vincent Massol on 12/Nov/25 14:54
 

Note that it's very hard to implement this since removing the some old content means that all subsequent changes were done based on that content and thus we would need a merge and it can lead to conflicts.