Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
16.6.0, 16.4.2
-
None
-
Windows 11 Pro, Chrome 127, using a local instance of XWiki 16.6.0 on MySQL 8.4, Tomcat 9.0.91
-
Unknown
-
Description
Steps to reproduce
- Login as Admin and enable Realtime editing from Administration
- Edit a page in-place
- Click on 'Source' button
- Insert some text (e.g. 'Admin's Source')
- Click again on 'Source' button to re-join the realtime session but don't make any other action (like inserting a space or another character)
- Open the same page in an Incognito window or another browser
- Login with an user (e.g. U1)
- Edit the page and insert some text with the user U1
- Wait for the automatic save to occur
Expected results
On automatic save, the user U1 gets the Conflict Warning modal, since before his editing, there was Admin's content which was not yet saved.
Actual results
Only the content added later by the user is displayed, the content added initially by Admin in Source mode is lost.
I think the issue is that when the user U1 starts editing the page, the content added by Admin in Source mode is not displayed on the page, which does not happen if a modification is added in WYSIWWYG after the realtime mode is joined.