Details
-
Bug
-
Resolution: Fixed
-
Major
-
11.10.5, 12.4
-
Windows 10 Pro 64 bit, Chrome 83, using a local instance of XWiki 12.4 on MariaDB 10.4, Tomcat 9.0.35
-
Unit
-
Medium
-
N/A
-
N/A
-
Description
STEPS TO REPRODUCE
- Login with Admin
- Go to a page (non terminal)
- Click 'More actions > Export'
- Click on 'Other Formats'
- From 'Select the pages to export:' drop-down select 'Created pages' or 'Created and modified pages'
- Select back 'All pages' from the drop-down
- Click 'Export as XAR' or 'Export as HTML'
EXPECTED RESULTS
The page is exported as XAR/ HTML (or the 'Save As' download box is displayed, depending on browser's settings).
ACTUAL RESULTS
Nothing happens when clicking 'Export as XAR' or 'Export as HTML' buttons after 'All pages' is selected again from the drop-down.
The following error is displayed in browser's console:
exporter.js?cache-version=1590492458000:1 Uncaught TypeError: Cannot read property 'type' of undefined
at j (exporter.js?cache-version=1590492458000:1)
at a.jstree.plugins.contextmenu.getExportPages (exporter.js?cache-version=1590492458000:1)
at b (exporter.js?cache-version=1590492458000:3)
at HTMLAnchorElement.<anonymous> (exporter.js?cache-version=1590492458000:3)
at HTMLAnchorElement.dispatch (jquery.js:4737)
at HTMLAnchorElement.r.handle (jquery.js:4549)
The issue could be reproduced also on XWiki 11.10.5, and 12.3.