This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-ce939046-ae00-488a-a9ed-783440c3fdfc XWIKI-23527 Open

Editing session remains active after discarding realtime edits

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-8a896999-074e-4a47-bc1d-3db4072196b5 Nikita Petrenko created this issue on 12/Sep/25 14:22
 
Summary: Editing session remains active after discarding realtime edits
Issue Type: cid:jira-generated-image-avatar-ce939046-ae00-488a-a9ed-783440c3fdfc Bug
Affects Versions: 17.7.0
Assignee: Unassigned
Components: Realtime
Created: 12/Sep/25 14:22
Environment: XWiki 17.7, Tomcat 10.1.34 and PostgreSQL 17.2
Priority: cid:jira-generated-image-static-major-b6d1ddfd-f306-469f-898d-e92401b38469 Major
Reporter: Nikita Petrenko
Description:

Prerequisites:

  • advanced user preferences

Steps to reproduce:

  1. Start Realtime editing in WYSIWYG editor via shortcut command
  2. Make some changes or switch to source mode and either made changes there
  3. Return to WYSIWYG editor from source mode
  4. Cancel changes by shortcut (ALT+C)

Actual result

After discarding changes, the editor stays in edit mode. The toolbar is visible, allowing text input and switching to source, but saving is not possible: the bottom bar with the save button is missing, and keyboard shortcuts have no effect.

Expected result

There's no edit session, user returns to view mode.

 
 

2 updates

 
cid:jira-generated-image-avatar-8a896999-074e-4a47-bc1d-3db4072196b5 Changes by Nikita Petrenko on 12/Sep/25 14:24
 
Description: h3. Prerequisites:
* advanced user preferences

h3. Steps to reproduce:

# Start Realtime editing in WYSIWYG editor via shortcut command
#
Make some changes or switch Switch to source mode and either made changes there
# Return to WYSIWYG editor from source mode
# Cancel changes by shortcut (ALT+C)

h3. Actual result

After discarding changes, the editor stays in edit mode. The toolbar is visible, allowing text input and switching to source, but saving is not possible: the bottom bar with the save button is missing, and keyboard shortcuts have no effect.
  [^active edit session after denied realtime session.jpeg]

h3. Expected result

There's no edit session, user returns to view mode.
Attachment: active edit session after denied realtime session.jpeg