Summary: | xml entity refs display incorrectly in results page if exported and indexed as xml | ||
---|---|---|---|
Product: | Koha | Reporter: | Chris Cormack <chris> |
Component: | Architecture, internals, and plumbing | Assignee: | Jared Camins-Esakov <jcamins> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | PATCH-Sent (DO NOT USE) | CC: | cmurdock, cookie.wolfrom, f.demians, julian.maurice, jwagner, nengard |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9522 | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
patch
follow up patch Follow-up patch (reuploaded) follow up patch 2 |
Description
Chris Cormack
2010-05-21 01:09:10 UTC
This ultimately stems from a bug or misconfiguration in Zebra: when it converts from MARCXML to ISO2709 internally, it doesn't seem to be be converted & entities back to the '&' character. This has been observed in version 2.0.44 of Zebra. Created attachment 3301 [details] [review] patch Pushed and merged, please test and mark resolved Follow up patch signed off and submitted. Created attachment 3322 [details] [review] follow up patch Created attachment 3323 [details] [review] Follow-up patch (reuploaded) Followup patch works -- signing off My initial patch was too aggressive in stripping out ampersand entities and broke the search results display for records with ampersands when -x was not used with rebuild_zebra.pl -b. The follow-up patch corrects this problem. Pushed please test This now works for me. If someone else could confirm and close, I'd be grateful. There will be another follow-up patch. In some circumstances the display in the Staff client isn't fixed. follow up patch for staff client signed off Created attachment 3463 [details] [review] follow up patch 2 Pushed, please test |