Summary: | Upgraded 17.11 to 18.05: Malformed Bootstrap Theme Filenames | ||
---|---|---|---|
Product: | Koha | Reporter: | Christian McDonald <rcmcdonald91> |
Component: | OPAC | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED INVALID | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | jonathan.druart |
Version: | 18.05 | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 12904 | ||
Bug Blocks: |
Description
Christian McDonald
2018-06-04 22:02:51 UTC
https://library.mydomain.com/opac-tmpl/bootstrap/lib/modernizr.min.js So much for obfuscation lol For some reason, my 'apache-shared-opac.conf' was missing the following lines: RewriteRule ^(.*)_[0-9][0-9]\.[0-9][0-9][0-9][0-9][0-9][0-9][0-9].js$ $1.js [L] RewriteRule ^(.*)_[0-9][0-9]\.[0-9][0-9][0-9][0-9][0-9][0-9][0-9].css$ $1.css [L] Adding them fixed this problem. Hi Christian, this is not bug, but a feature. It removes the need to clean your cache after updating, that when forgotten could lead to a lot of strange issues. See here: bug 12904 And from the release notes: For non-package installations, the following rewrite rules will need to be added to the apache config file: RewriteRule ^(.)[0-9][0-9].[0-9][0-9][0-9][0-9][0-9][0-9][0-9].js$ $1.js [L] RewriteRule ^(.)[0-9][0-9].[0-9][0-9][0-9][0-9][0-9][0-9][0-9].css$ $1.css [L] What's confusing to me is that my installation IS a packaged installation (Debian using the stable repository). Ok, out of my depth then. Should we reopen? (In reply to Christian McDonald from comment #4) > What's confusing to me is that my installation IS a packaged installation > (Debian using the stable repository). When you upgraded, did apt ask you something about this file? If you manually edited the file before the upgrade, apt asks you what you want to do with the file: pick the one from the maintainer, keep yours, etc. If you selected something else than picking the file provided by the package it is expected that these lines are missing. |