[Koha-bugs] [Bug 26471] Datatables js error on missing pdfmake.min.js.map

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 27 16:17:24 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26471

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #116587|0                           |1
        is obsolete|                            |
 Attachment #119247|0                           |1
        is obsolete|                            |
 Attachment #119248|0                           |1
        is obsolete|                            |
 Attachment #119249|0                           |1
        is obsolete|                            |
             Status|Needs Signoff               |Signed Off
                 CC|                            |agustinmoyano at theke.io

--- Comment #4 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 119247
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119247&action=edit
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 at ptfs-europe.com>

--- Comment #5 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 119248
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119248&action=edit
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 at ptfs-europe.com>

--- Comment #6 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 119249
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119249&action=edit
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 at ptfs-europe.com>

--- Comment #7 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 119250
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119250&action=edit
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 at ptfs-europe.com>

--- Comment #8 from Martin Renvoize <martin.renvoize at 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?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list