[Koha-bugs] [Bug 19875] New: When & is in the title of a search result, subscribing via rss can be broken

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 22 15:32:04 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19875

            Bug ID: 19875
           Summary: When & is in the title of a search result, subscribing
                    via rss can be broken
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: christophe.croullebois at biblibre.com
        QA Contact: testopia at bugs.koha-community.org

This issue is not in all cases (depend on many factors).
It is due to the xml syntax where the use of "&" is forbidden and must be
"&"
Koha do the job in this line :
<title>[% SEARCH_RESULT.title |html %].......
With the use of "|html"
But not in this line :
Place Hold on <i>[% SEARCH_RESULT.title %]</i>......
The patch is very light just adds "|html" in the line above.
#################
Test Plan :
1° in opac do a search where you can find "&" in the title
2° in the result page click on the rss button on the right of "Your search
returned n results." (Subscribe to this search)
3° if your subscribe is ok you can not perform the test :o(
4° if your subscribe is nok you can apply the patch
5° test the same work flow with the patch the subscribe must be ok.
Thx

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list