PDFViewer on cloud.amiv.ethz.ch does not display anything
Summary
Hi! Thanks for contributing to the AMIV Website by reporting a new bug! In order to fix the bug soon, please help us to figure out what causes the malfunction!
describe the issue here When clicking on the Statutes or on any of the Kommisionsstatuen, the PDFViewer opens, tries to load the PDF, but fails to do so and displays an error. The download of the file is also not possible.
Steps to Reproduce
What is the main menu point (top menu bar) where this issue occurs? AMIV > Info > Statuten Copy and Paste the url from the window where the issue occured https://cloud.amiv.ethz.ch/index.php/s/statutes#pdfviewer or by clicking the three dots on the file > download Describe in your own words what steps you did before the issue occured I clicked on The link on amiv.ethz.ch, then on the PDF, then the error happened
Additional Debug Information
The GV-Protokolle and Vorstanssitzungsprotokolle work.
Please add information on what browser and operating system you are using Mac OS Catilina 10.15; Google Chrome 90 (User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36)
If possible, can you make a screenshot of the bug? se below
Please open the "developer tools" of your browser and copy and paste any printouts in the "console" DOWNLOAD Errorscreen: Technische Details Entfernte Adresse: 2a02:1206:454f:34c0:64f7:d5e2:ba2c:7ae Anfragekennung: 0CfasazDVGuDtieUhlQM
Console: JQMIGRATE: Migrate is installed, version 1.4.0 merged-share-backend.js?v=94fe3667-11:24 Uncaught ReferenceError: oc_appconfig is not defined at merged-share-backend.js?v=94fe3667-11:24 at merged-share-backend.js?v=94fe3667-11:72 merged-template-prepend.js?v=94fe3667-11:1527 Uncaught TypeError: Cannot read property 'substring' of undefined at Object.filePath (merged-template-prepend.js?v=94fe3667-11:1527) at viewer.js?v=94fe3667-11:25
PDFViewer Errorscreen: Error in JSViewer: PDF.js Version 1.9.426 (build: 2558a58d) Nachricht: Unexpected server response (500) while retrieving PDF "https://cloud.amiv.ethz.ch/index.php/s/statutes/download?path=%2F&files=amiv-statuten-oct2019.pdf".
Console: JQMIGRATE: Migrate is installed, version 1.4.0 network.js:140 GET https://cloud.amiv.ethz.ch/index.php/s/statutes/download?path=%2F&files=amiv-statuten-oct2019.pdf 500 (Internal Server Error) NetworkManager_request @ network.js:140 NetworkManager_requestFull @ network.js:91 PDFNetworkStreamFullRequestReader @ network.js:333 PDFNetworkStream_getFullReader @ network.js:296 (anonymous) @ api.js:1619 (anonymous) @ util.js:1236 resolveCall @ util.js:1235 _createStreamSink @ util.js:1515 MessageHandler._onComObjOnMessage @ util.js:1329 app.js:718 Uncaught (in promise) Error: Unerwartete Antwort des Servers at app.js:718