Closed ilieandriuta closed 2 years ago
This issue is caused by a regression in XWiki platform (attachment picker) that will be fixed in XWiki 14.4.3+ and 14.6+ . See XWIKI-19940: Can't upload any file or view selected attachment using Office Document Viewer
Environment: Windows 11 Pro 64bit, Chrome 102, using a local instance of XWiki 14.4, Java 17 (Oracle), PDF Viewer Macro (Pro) 2.4
STEPS TO REPRODUCE
EXPECTED RESULTS
The attached PDF file can be selected and/or a new one uploaded and displayed on the page.
ACTUAL RESULTS
When clicking in the 'File' box (to insert the attached PDF's name or to upload another one), the 'Upload a file ...' does not display, instead there is an endless spinning wheel inside the box.
After the name of the attached PDF is typed, it appears to be selected in the box, but when click 'Submit' the frame of the 'File' box becomes red and nothing happens.
In browser's console there are some errors like:
The issue seems to be reproducing only on XWiki 14.4, as it could not be reproduced on XWiki 14.3.1 or 13.10.6.
After clicking in the 'File' box:
After typing the name of the attached PDF and clicked 'Submit':