Details
Description
Steps to reproduce
- Login as Admin
- Go to Administer Wiki > Editing > Edit Mode
- Set "Enable version summaries" to "No" and Save
- Go to a page (e.g. Sandbox)
- Click "Edit" button
- Click the drop-down arrow in the right of the 'Done' button
- Click "Summarize & Done"
- Observe the text input field on the "Summary" tab
- Click on "Recent versions" button from the right side of the toolbar
- Click "Summarize changes" option
- 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