This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-a4719fcb-95bc-4164-9f90-185c1087af30 XWIKI-23281 Open

Saving gets stuck in Realtime editor if a page mandatory title is not provided before saving

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-c8f703a5-ea8e-4ab2-97cf-36fcba779b1e Ilie Andriuta created this issue on 10/Jun/25 15:48
 
Summary: Saving gets stuck in Realtime editor if a page mandatory title is not provided before saving
Issue Type: cid:jira-generated-image-avatar-a4719fcb-95bc-4164-9f90-185c1087af30 Bug
Affects Versions: 16.10.8, 17.4.0
Assignee: Unassigned
Attachments: Done_button_inactive.png, Saving_endlessly.png
Components: Realtime
Created: 10/Jun/25 15:48
Environment: Windows 11 Pro, Edge 137, using an instance of XWiki 17.4.0 on MariaDB 11.7, Tomcat 11.0.7
Priority: cid:jira-generated-image-static-critical-51293662-dbcf-4f70-9f6c-6100ac41faf7 Critical
Reporter: Ilie Andriuta
Description:

Steps to reproduce

  1. Login as Admin
  2. Go to "Administer Wiki" > "Editing" > "Edit Mode"
  3. Change "Make page title field mandatory" to 'Yes'
  4. Click "Save"
  5. Click "Create" button to create a page (or use an existing page)
  6. Fill in a page name
  7. (Optional): Type some page content
  8. Delete everything in the page "Title" field
  9. Click "Done" button

Expected results

If the "Title" field is not filled, clicking the "Done" button has no effect (the button is either deactivated or doesn't perform any action) until a page Title is provided.

Actual results

The "Done" button become deactivated and the status in the right side of the bar says "Saving", but the circle spins endlessly.

The same happens now when clicking "Summarize & Done", the "Done" button from the modal is not active.

Even if a page title is provided at this point, there is nothing the user can do, except navigating away or refresh the page, but the page content gets lost either way.

The issue doesn't reproduce if the page is edited without Realtime editor.

Tested and reproduced on XWiki 16.10.8 as well.

 
 

1 update

 
cid:jira-generated-image-avatar-c8f703a5-ea8e-4ab2-97cf-36fcba779b1e Changes by Ilie Andriuta on 10/Jun/25 15:58
 
Description: *Steps to reproduce*
# Login as Admin
# Go to "Administer Wiki" > "Editing" > "Edit Mode"
# Change "Make page title field mandatory" to 'Yes'
# Click "Save"
# Click "Create" button to create a page (or use an existing page)
# Fill in a page name
# (Optional): Type some page content
# Delete everything in the page "Title" field
# Click "Done" button

*Expected results*

If the "Title" field is not filled, clicking the "Done" button has no effect (the button is either deactivated or doesn't perform any action) until a page Title is provided.

*Actual results*

The "Done" button become deactivated and the status in the right side of the bar says "Saving", but the circle spins endlessly.

The same happens now when clicking "Summarize & Done", the "Done" button from the modal is not active.

Even if a page title is provided at this point, there is nothing the user can do, except navigating away or refresh the page, but the page content gets lost either way.

No errors in JS console.

The issue doesn't reproduce if the page is edited without Realtime editor.

Tested and reproduced on XWiki 16.10.8 as well.