Details
-
Bug
-
Resolution: Fixed
-
Major
-
16.4.0
-
Not relevant.
-
Unknown
-
N/A
-
N/A
-
Description
I spotted two different types of errors in the export modal.
One is a <div> element with only a non-existent attribute name of "hidden". E.g.:
<div hidden="">
This would have to be changed to:
<div class="hidden">
The other two are errors of Velocity content not being generated, viz.:
$services.rendering.render($uix.execute(), 'html/5.0') $services.rendering.render($uix.execute(), 'html/5.0')
An excerpt from the export modal wherein these errors are located, so as to better locate these errors:
<div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true"> <span class="fa fa-times" aria-hidden="true"></span> </button> <div class="modal-title" id="exportModalLabel"> <span class="fa fa-download" aria-hidden="true"></span> Export </div> </div> <div class="modal-body xform"> <p class="xHint"> Choose the export format from the list below: </p> <div hidden=""> $services.rendering.render($uix.execute(), 'html/5.0') $services.rendering.render($uix.execute(), 'html/5.0') <script id="pdfExportConfig" type="application/json">{"icons":{"pdf":{"iconSetName":"Font Awesome","cssClass":"fa fa-file-pdf-o","iconSetType":"FONT","url":""},"error":{"iconSetName":"Font Awesome","cssClass":"fa fa-exclamation-triangle","iconSetType":"FONT","url":""},"spinner":{"cssClass":"fa fa-spinner fa-spin"}},"templates":[{"label":"Default template","value":"xwiki:XWiki.PDFExport.Template"}],"serverSide":false,"pageReadyTimeout":60}</script> </div> <div class="xwiki-select xwiki-export-formats xwiki-select-3-columns" id="xwiki-select-mYa" data-ready="true"> <p> <label for="xwiki-select-mYa-filter" class="sr-only"> Filter </label> <input type="text" id="xwiki-select-mYa-filter" class="xwiki-select-filter" placeholder="Type to filter..."> </p> <span id="xwiki-select-mYa-listbox-label" hidden=""> Options for exportFormat </span> ...