[Bug 38194] New: Silence console warning about missing .map files
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38194 Bug ID: 38194 Summary: Silence console warning about missing .map files Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: ASSIGNED Severity: trivial Priority: P5 - low Component: Templates Assignee: oleonard@myacpl.org Reporter: oleonard@myacpl.org QA Contact: testopia@bugs.koha-community.org Bug 26471 has resurfaced following a DataTables upgrade, and now we have a warning in the console from Bootstrap too: Source map error: request failed with status 404 Resource URL: http://127.0.0.1:8081/intranet-tmpl/lib/bootstrap/bootstrap.bundle.min_24.06... Source Map URL: bootstrap.bundle.min.js.map -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38194 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38194 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38194 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- This doesn't seem to be an issue anymore -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38194 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.de.rooy@rijksmuseum.nl --- Comment #2 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Funny that I just saw this popping up: Fout bij brontoewijzing: request failed with status 404 Bron-URL: https://upgrade.rijkskoha.nl/opac-tmpl/lib/bootstrap/js/bootstrap.bundle.min... Brontoewijzings-URL: bootstrap.bundle.min.js.map This is exactly the same warn/error as in the description. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38194 --- Comment #3 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- git grep koha-tmpl/intranet-tmpl/lib/bootstrap/bootstrap.bundle.min.js://# sourceMappingURL=bootstrap.bundle.min.js.map koha-tmpl/intranet-tmpl/prog/en/includes/installer-intranet-bottom.inc:[% Asset.js("lib/bootstrap/bootstrap.bundle.min.js") | $raw %] koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc:[% Asset.js("lib/bootstrap/bootstrap.bundle.min.js") | $raw %] koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc:[% Asset.js("lib/bootstrap/js/bootstrap.bundle.min.js") | $raw %] koha-tmpl/opac-tmpl/lib/bootstrap/js/bootstrap.bundle.min.js://# sourceMappingURL=bootstrap.bundle.min.js.map koha-tmpl/opac-tmpl/xslt/OAI.xslt: <script src="/opac-tmpl/lib/bootstrap/js/bootstrap.bundle.min.js"></script> Location for opac and intranet are not consistent (at least). Opac uses an additional subfolder js. The problem seems to be that the suorcemappingURL in those minified js files refers to a map that is not found in Koha. (Same for a larger number of minified js files.) The error will only appear in developer tools. So probably thats the reason why we dont care about it? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38194 --- Comment #4 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- On the linked report btw we removed this sourceMappingURL lines from one minified js file. So that was probably not consistent too :) -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org