There are 2 updates, 4 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-cfb15306-ec82-4b78-8698-c676d037163d XWIKI-23707 Open

Error when deleting a page minor revision history after deleted major revision

 
View issue   ยท   Add comment
 

2 updates

 
cid:jira-generated-image-avatar-2668779f-c237-4909-a1f4-1e2ab708a225 Changes by Thomas Mortagne on 27/Nov/25 14:20
 
Assignee: Thomas Mortagne
Status: In Progress Open
 
 

4 comments

 
cid:jira-generated-image-avatar-2668779f-c237-4909-a1f4-1e2ab708a225 Thomas Mortagne on 27/Nov/25 14:18
 

I unfortunately cannot reproduce this bug.

The error suggest a race condition between an apparently old archive (still referencing 1501.1) and the reality (the rollback is done after the version is deleted from the database).

 
cid:jira-generated-image-avatar-2668779f-c237-4909-a1f4-1e2ab708a225 Thomas Mortagne on 27/Nov/25 14:20
 
I unfortunately cannot reproduce this bug.

The error suggest a race condition between an apparently old archive (still referencing 1501.1) and the reality (the rollback is done after the version is deleted from the database).


What is sure is that you can only have this problem when deleting a version which is a patch, which should not happen for a version created in XWiki 17.1+ (at least by default, since the default behavior is to not store patches anymore).
 
cid:jira-generated-image-avatar-2668779f-c237-4909-a1f4-1e2ab708a225 Thomas Mortagne on 27/Nov/25 14:20
 
I unfortunately cannot reproduce this bug.

The error
suggest suggests a race condition between an apparently old archive (still referencing 1501.1) and the reality (the rollback is done after the version is deleted from the database).

What is sure is that you can only have this problem when deleting a version which is a patch, which should not happen for a version created in XWiki 17.1+ (at least by default, since the default behavior is to not store patches anymore).
 
cid:jira-generated-image-avatar-2668779f-c237-4909-a1f4-1e2ab708a225 Thomas Mortagne on 27/Nov/25 14:21
 
I unfortunately cannot reproduce this bug.

The error suggests a race condition between an apparently old archive (still referencing 1501.1) and the reality (the rollback is done after the version is deleted from the database).

What is sure is that you can only have this problem when deleting a version which is a patch, which should not happen for a version created in XWiki 17.1+ (at least by default, since the default behavior is to not store patches anymore).
In older versions, you can try the workaround described in XWIKI-22613 to disable patches.