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

            Bug ID: 32675
           Summary: Cannot add a guarantor when there is a single quote in
                    the guarantor attributes
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Patrons
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

It's impossible to select a guarantor when there is a single quote in the
guarantor attributes.

This patch allows to add a guarantor even if there is a single quote in
guarantor attributes.

Test plan
1. Find two patrons:
  - Patron 1 = guarantee
  - Patron 2 = guarantor
2. In the patron 2 account, add a single quote in one of the "Alternate
address" or "Contact information" fields (like the "Address" field)
for example type «L'Aqueduc» in the field and save
3. Edit the patron 1 and click on "Add guarantor"
4. Search for the patron 2
5. Click on "Select"
  --> Nothing happens
6. Apply the patch
9. repeat step 3, 4 and 5
10. Now Patron 2 is added as guarantor

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to