Summary: | Datatables js error on missing pdfmake.min.js.map | ||
---|---|---|---|
Product: | Koha | Reporter: | Marcel de Rooy <m.de.rooy> |
Component: | Templates | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | agustinmoyano, andrewfh, david, fridolin.somers, jonathan.druart, martin.renvoize, oleonard, victor |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
21.05.00,20.11.06,20.05.12
|
|
Attachments: |
Bug 26471: Remove invalid Map URL
Bug 26471: Remove invalid Map URL Bug 26471: Remove invalid Map URL Bug 26471: Remove invalid Map URL Bug 26471: Remove invalid Map URL Bug 26471: Remove invalid Map URL |
Description
Marcel de Rooy
2020-09-16 13:52:25 UTC
But on catalogue/detail.pl too etc. Created attachment 116587 [details] [review] Bug 26471: Remove invalid Map URL There is a warning in the console: Error en el mapeo fuente: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data URL del recurso: http://kohadev-intra.mydnsname.org:8081/intranet-tmpl/lib/datatables/datatables.min_20.1200011.js URL del mapa fuente: pdfmake.min.js.map https://developer.mozilla.org/en-US/docs/Tools/Debugger/Source_map_errors I'm not seeing this error on my setup (Ubuntu 18.04, Firefox Developer Edition and v87 (64 bit edition). Created attachment 119247 [details] [review] Bug 26471: Remove invalid Map URL There is a warning in the console: Error en el mapeo fuente: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data URL del recurso: http://kohadev-intra.mydnsname.org:8081/intranet-tmpl/lib/datatables/datatables.min_20.1200011.js URL del mapa fuente: pdfmake.min.js.map https://developer.mozilla.org/en-US/docs/Tools/Debugger/Source_map_errors Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Created attachment 119248 [details] [review] Bug 26471: Remove invalid Map URL There is a warning in the console: Error en el mapeo fuente: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data URL del recurso: http://kohadev-intra.mydnsname.org:8081/intranet-tmpl/lib/datatables/datatables.min_20.1200011.js URL del mapa fuente: pdfmake.min.js.map https://developer.mozilla.org/en-US/docs/Tools/Debugger/Source_map_errors Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Created attachment 119249 [details] [review] Bug 26471: Remove invalid Map URL There is a warning in the console: Error en el mapeo fuente: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data URL del recurso: http://kohadev-intra.mydnsname.org:8081/intranet-tmpl/lib/datatables/datatables.min_20.1200011.js URL del mapa fuente: pdfmake.min.js.map https://developer.mozilla.org/en-US/docs/Tools/Debugger/Source_map_errors Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Created attachment 119250 [details] [review] Bug 26471: Remove invalid Map URL There is a warning in the console: Error en el mapeo fuente: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data URL del recurso: http://kohadev-intra.mydnsname.org:8081/intranet-tmpl/lib/datatables/datatables.min_20.1200011.js URL del mapa fuente: pdfmake.min.js.map https://developer.mozilla.org/en-US/docs/Tools/Debugger/Source_map_errors Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> oop.. I was getting 504 responses in git-bz, but it looks like the patches were actually getting through in the end anyway! This does resolve the problem (Can be seen in the console in Chrome 89). I wonder however, if rather than edit the file directly we should use the datatables builder to grab an up to date copy of the files? Created attachment 120695 [details] [review] Bug 26471: Remove invalid Map URL There is a warning in the console: Error en el mapeo fuente: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data URL del recurso: http://kohadev-intra.mydnsname.org:8081/intranet-tmpl/lib/datatables/datatables.min_20.1200011.js URL del mapa fuente: pdfmake.min.js.map https://developer.mozilla.org/en-US/docs/Tools/Debugger/Source_map_errors Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Pushed to master for 21.05, thanks to everybody involved! Pushed to 20.11.x for 20.11.06 Pushed to 20.05.x for 20.05.12 Not backported to oldoldstable (19.11.x). Feel free to ask if it's needed. |