Details
-
Bug
-
Resolution: Invalid
-
Major
-
None
-
15.10.10, 16.4.0
-
None
-
Windows 11 Pro, Edge 125, using an instance of XWiki 15.10.10 on MySQL 8, Tomcat and XWiki 16.4.0 on PostgreSQL 16, Tomcat 9.0.89
-
Unknown
-
Description
Steps to reproduce
Initially this issue was reproduced while testing in real time with Gabi, but I also managed to reproduce it locally with 2 users in different tabs (one using Incognito mode), though, not that easy.
- Enable Realtime WYSIWYG from Administration
- Login with an user (e.g. U1)
- Edit a page (I reproduced by editing in-place, if relevant)
- Using another (incognito) window/tab, login with another user (e.g. U2)
- Edit the same page by forcing the lock
- Create a line of text to be only edited by U1 and one line just for U2
- With U1, add some text in its line
- After that, with U2, add some text it its line as well in order to be the last user who makes a modification
- Wait for the automatic save to occur
Expected results
The automatic save is performed by U2, the last user who made a modification.
Actual results
The automatic save is performed by U1, the user who started editing the page.
The issue is not quite easy to reproduce, as it required a few tries (edits) to be able to reproduce it.
Please see attached the screenshot, including the diff.