[Bug 7535] New: OPAC displays ampersands incorrectly.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7535 Bug #: 7535 Summary: OPAC displays ampersands incorrectly. Classification: Unclassified Change sponsored?: --- Product: Koha Version: rel_3_8 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P5 - low Component: OPAC AssignedTo: oleonard@myacpl.org ReportedBy: ruth@bywatersolutions.com QAContact: koha.sekjal@gmail.com In Bug 3326, Jared resolved the odd display of ampersands caused by Zebra's odd encoding of them for the OPAC, and XSLT display was fixed for the opac, but non-XSLT display still shows the oddity. Two-line patch coming momentarily, for both Master and 3.6.x, which both exhibit this behavior. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7535 D Ruth Bavousett <ruth@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=3326 AssignedTo|oleonard@myacpl.org |ruth@bywatersolutions.com Severity|enhancement |minor -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7535 --- Comment #1 from D Ruth Bavousett <ruth@bywatersolutions.com> 2012-02-13 15:28:02 UTC --- Created attachment 7628 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7628 Proposed patch -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7535 --- Comment #2 from D Ruth Bavousett <ruth@bywatersolutions.com> 2012-02-13 15:30:02 UTC --- In my first note, I typed, still sleepily, "Jared resolved the odd display of ampersands caused by Zebra's odd encoding of them for the OPAC" ...that should be for the *staff client*, of course. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7535 D Ruth Bavousett <ruth@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7535 Liz Rea <wizzyrea@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #7628|0 |1 is obsolete| | --- Comment #3 from Liz Rea <wizzyrea@gmail.com> 2012-02-16 23:51:11 UTC --- Created attachment 7706 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7706 [Signed Off] Bug 7535: ampersands not showing properly in non-XSLT OPAC Jared's fix for Bug 3326 fixed this in the staff client, but not the OPAC; moving this one line fixes it both places. Signed-off-by: Liz Rea <wizzyrea@gmail.com> This can be replicated by indexing with -x OPACXSLTResults must be set to "normally" Reproduced original bug with rebuild-zebra.pl -x -b -w -r -v -v Patch corrects the issue, does not change intranet behavior. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7535 Liz Rea <wizzyrea@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |wizzyrea@gmail.com -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7535 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA CC| |paul.poulain@biblibre.com --- Comment #4 from Paul Poulain <paul.poulain@biblibre.com> 2012-02-21 15:45:30 UTC --- QA comment: tiny patch, passed QA Note that + $data =~ s/\&\;amp\; /\&\; /g; is not made in output_with_http_headers It means that, if we don't output something *not* html, and the string replaced is present, it will be replaced, and that could be not what we're expecting. Howver, the risk is less than tiny, so I accept this patch. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7535 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org