This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-3610ae88-2ea0-4575-9dd1-7e601aade0bc XWIKI-25281 Open

Edit button for page older version edits the latest version

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-e0752ac8-8792-453c-9099-cbd7eb9c6547 Pauline Bessoles created this issue on 13/Oct/26 17:26
 
Summary: Edit button for page older version edits the latest version
Issue Type: cid:jira-generated-image-avatar-3610ae88-2ea0-4575-9dd1-7e601aade0bc Bug
Affects Versions: 17.10.13, 18.4.4
Assignee: Unassigned
Attachments: Capture d’écran du 2026-10-13 17-25-18.png, Capture d’écran du 2026-10-13 17-25-40.png, Capture d’écran du 2026-10-13 17-25-58.png
Components: Edit
Created: 13/Oct/26 17:26
Environment: https://paulinedemo.cloud.xwiki.com
Priority: cid:jira-generated-image-static-major-9dca9f9b-167e-48b1-9057-33046d690224 Major
Reporter: Pauline Bessoles
Description:

Context

When reviewing an old version of a page, a warning appears on the top of the page, saying "For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this."

When clicking on the "Edit" button, the edition of the latest version opens. 

The warning is still displayed:

  • on the page in Edit mode ;
  • after clicking on "Done" and saving the changes. 

Even though the version saved is actually the latest one. 

 

Expected behaviour

The system should either alert the user that he'll be editing the current version and then drop the header, or it should disable the edit button for the old version.