[Koha-bugs] [Bug 32675] Cannot add a guarantor when there is a single quote in the guarantor attributes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 18 18:40:57 CET 2023


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

--- Comment #2 from Hammat wele <hammat.wele at inlibro.com> ---
Created attachment 145404
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=145404&action=edit
Bug 32675: Cannot add a guarantor when there is a single quote in the guarantor
attributes

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.


More information about the Koha-bugs mailing list