[Bug 8947] New: Search does not work with CCSR theme and language = nb-NO
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8947 Priority: P5 - low Change sponsored?: --- Bug ID: 8947 Assignee: oleonard@myacpl.org Summary: Search does not work with CCSR theme and language = nb-NO Severity: normal Classification: Unclassified OS: All Reporter: magnus@enger.priv.no Hardware: All Status: NEW Version: master Component: OPAC Product: Koha After following advice from bug 8597 and bug 8633 ("perl translate create nb-NO; perl translate install nb-NO") I managed to get the CCSR theme working. Then I switched from English to Norwegian and initially things were looking good. Until I did a search and got this error: Software error: Could not create file parser context for file "/home/magnus/kohahead/koha-tmpl/opac-tmpl/ccsr/nb-NO/xslt/NORMARCslim2OPACResults.xsl": No such file or directory at /home/magnus/kohahead/C4/XSLT.pm line 218 Looks like the XSLT was not copied correctly? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8947 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8947 --- Comment #1 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- Created attachment 12937 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12937&action=edit Bug 8947: XSLT fallback logic backwards The logic for the XSLT fallback was backwards, which meant that non-English installations of the CCSR theme were unable to use XSLT stylesheets. This patch corrects the logic. To test: 1) Switch to the ccsr OPAC theme. 2) Switch to a language other than English for the OPAC. 3) Turn on the default XSLT stylesheets for the OPAC. 4) Do a search or view a record that would result in something being displayed with XSLT. This will work after the patch, but not before. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8947 Magnus Enger <magnus@enger.priv.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #12937|0 |1 is obsolete| | --- Comment #2 from Magnus Enger <magnus@enger.priv.no> --- Created attachment 12938 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12938&action=edit Bug 8947: [SIGNED-OFF] XSLT fallback logic backwards The logic for the XSLT fallback was backwards, which meant that non-English installations of the CCSR theme were unable to use XSLT stylesheets. This patch corrects the logic. To test: 1) Switch to the ccsr OPAC theme. 2) Switch to a language other than English for the OPAC. 3) Turn on the default XSLT stylesheets for the OPAC. 4) Do a search or view a record that would result in something being displayed with XSLT. This will work after the patch, but not before. Signed-off-by: Magnus Enger <magnus@enger.priv.no> Works as advertised! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8947 Magnus Enger <magnus@enger.priv.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8947 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA CC| |paul.poulain@biblibre.com QA Contact| |paul.poulain@biblibre.com --- Comment #3 from Paul Poulain <paul.poulain@biblibre.com> --- QA comment: * tiny patch (just 3 ! differences !) * fixes a bug nothing to add, passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8947 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master Version|master |rel_3_8 --- Comment #4 from Paul Poulain <paul.poulain@biblibre.com> --- Patch pushed to master. It's probably usefull for 3.8, even if the symptom is visible only with CCSR theme and 3.10 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8947 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |RESOLVED CC| |chris@bigballofwax.co.nz Resolution|--- |FIXED --- Comment #5 from Chris Cormack <chris@bigballofwax.co.nz> --- Released in 3.10.0 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org