This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-38d2b5df-f158-4c5d-ac98-2fc7ed13229e XWIKI-22430 Open

Logging out does not unlock pages that were being edited

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-03b67952-bd45-4acf-90f1-5a704b7ab5f6 slauriere created this issue on 19/Aug/24 12:22
 
Summary: Logging out does not unlock pages
Issue Type: cid:jira-generated-image-avatar-38d2b5df-f158-4c5d-ac98-2fc7ed13229e Bug
Affects Versions: 15.10.6
Assignee: Unassigned
Components: Edit
Created: 19/Aug/24 12:22
Priority: cid:jira-generated-image-static-major-6418eef7-7c78-47d5-a7ff-44ed789c89bc Major
Reporter: slauriere
Description:

Step to reproduce

  • As Admin, edit home page in wysiwyg
  • In a distinct session, as user "Test" allowed to edit, try to edit home page: the user is warned that the page is currently locked
  • As Admin, log out
  • As Test, try again to edit home page

Expected result

Since user Admin has logged out, the page should not be considered as locked. Or is it a feature that we want to consider there might be unsaved content in the page that the user Admin will save later on by logging in again before saving?

Actual result

The home page is still marked as locked while user has logged out.

Note that this can be an issue in particular for XWiki.XWikiPreferences, since it seems there is no easy way to unlock that page expressly.

 
 

2 updates

 
cid:jira-generated-image-avatar-03b67952-bd45-4acf-90f1-5a704b7ab5f6 Changes by slauriere on 19/Aug/24 12:23
 
Summary: Logging out does not unlock pages that were being edited
Description: h2. Step Steps to reproduce

* As Admin, edit home page in wysiwyg
* In a distinct session, as user "Test" allowed to edit, try to edit home page: the user is warned that the page is currently locked
* As Admin, log out
* As Test, try again to edit home page

h2. Expected result

Since user Admin has logged out, the page should not be considered as locked. Or is it a feature that we want to consider there might be unsaved content in the page that the user Admin will save later on by logging in again before saving?

h2. Actual result

The home page is still marked as locked while user has logged out.

Note that this can be an issue in particular for XWiki.XWikiPreferences, since it seems there is no easy way to unlock that page expressly.