This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-ef450acb-1646-4ef5-a775-84f3f4809d23 XWIKI-23513 Open

Cannot save a page using "Summarize & Done" and "Summarize changes" when "Enable version summaries" is set to "No"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-accf751f-47a7-4d58-9441-39d90f131bf2 Ilie Andriuta created this issue on 08/Sep/25 16:40
 
Summary: Cannot save a page using "Summarize & Done" and "Summarize changes" when "Enable version summaries" is set to "No"
Issue Type: cid:jira-generated-image-avatar-ef450acb-1646-4ef5-a775-84f3f4809d23 Bug
Affects Versions: 16.10.11, 17.4.2
Assignee: Unassigned
Attachments: Version_Summaries_Set_to_No_error.png
Components: CKEditor, Realtime
Created: 08/Sep/25 16:40
Environment: Windows 11 Pro, Firefox 142, using an instance of XWiki 17.4.4 on PostgreSQL 17, Tomcat 11.0.10, reproducible also on Jetty/HSQL
Priority: cid:jira-generated-image-static-major-71440758-1345-451e-a92e-3df8a34b4c59 Major
Reporter: Ilie Andriuta
Description:

Steps to reproduce

  1. Login as Admin
  2. Go to Administer Wiki > Editing > Edit Mode
  3. Set "Enable version summaries" to "No" and Save
  4. Go to a page (e.g. Sandbox)
  5. Click "Edit" button
  6. Click the drop-down arrow in the right of the 'Done' button
  7. Click "Summarize & Done"
  8. Observe the text input field on the "Summary" tab
  9. Click on "Recent versions" button from the right side of the toolbar
  10. Click "Summarize changes" option
  11. Observe the text input field on the "Summary" tab

Expected results

The text input field on the "Summary" tab is not active (or maybe not displayed at all) for both "Summarize & Done" and "Summarize changes" options.

Actual results

The text input field on the "Summary" tab is active for both save options. If the "Done", respectively "Save" buttons are clicked (even if no brief description of the changes is inserted), the page is not saved and the following error is displayed in JS console:

Uncaught (in promise) TypeError: can't access property "value", b is null
    _saveChangeSummary toolbar.js:202
    _createChangeSummaryModal toolbar.js:137
    jQuery 10
    _createChangeSummaryModal toolbar.js:135
    r toolbar.js:54
    _createToolbar wysiwygEditor.js:192
    _startRealtimeSync wysiwygEditor.js:118
    n wysiwygEditor.js:82
    d plugin.js:297
    m plugin.js:311
    execCb require.min.js:5
    check require.min.js:5
    enable require.min.js:5
    bind require.min.js:5
    emit require.min.js:5
    each require.min.js:5
    emit require.min.js:5
    check require.min.js:5
    enable require.min.js:5
    bind require.min.js:5
    emit require.min.js:5
    each require.min.js:5
    emit require.min.js:5
    check require.min.js:5
    enable require.min.js:5
    bind require.min.js:5
    emit require.min.js:5
    each require.min.js:5
    emit require.min.js:5
    check require.min.js:5
    enable require.min.js:5
    init require.min.js:5
    a require.min.js:5
    completeLoad require.min.js:5
    onScriptLoad require.min.js:5
    load require.min.js:5
    load require.min.js:5
    load require.min.js:5
    fetch require.min.js:5
    bind require.min.js:5
    execCb require.min.js:5
    check require.min.js:5
    enable require.min.js:5
    init require.min.js:5
    s require.min.js:5
    setTimeout handler*req.nextTick< require.min.js:5
    s require.min.js:5
    fetch require.min.js:5
    check require.min.js:5
    enable require.min.js:5
    enable require.min.js:5
    enable require.min.js:5
    bind require.min.js:5
    each require.min.js:5
    enable require.min.js:5
    enable require.min.js:5
    enable require.min.js:5
    bind require.min.js:5
    each require.min.js:5
    enable require.min.js:5
    enable require.min.js:5
    enable require.min.js:5
    bind require.min.js:5
    each require.min.js:5
    enable require.min.js:5
toolbar.js:202:7
 
 

1 update

 
cid:jira-generated-image-avatar-accf751f-47a7-4d58-9441-39d90f131bf2 Changes by Ilie Andriuta on 08/Sep/25 16:40
 
Labels: usability