[Koha-bugs] [Bug 14744] New: Cannot select guarantor when quote in one of the fields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 27 17:41:42 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14744

            Bug ID: 14744
           Summary: Cannot select guarantor when quote in one of the
                    fields
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Patrons
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: philippe.blouin at inlibro.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

If a field (here it's the branch name) contains a quote, the Select button
doesn't work in guarantor_search.pl.

For example, if our branch is "Bibliothèque d'Avignon", the resulting json in
the link is all broken and the "select" does nothing.

Setup:
- Have a Child patron and Adult patron in your DB.
- In Admin/Libraries and Group, modify the name to add a ' in the middle.

Test:
- Modify your child patron.
  - The second section should be "Guarantor Information"
- Click the "Set to patron" button
- Enter the info to find your adult
- In the resulting list, click the Select at the end of the line
   - Nothing will happen
   - Hover over the link, you'll see the gibberish inside.
- Remove the ' from the branch name.  Do the steps above.  Everything is
alright.

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


More information about the Koha-bugs mailing list