[Koha-bugs] [Bug 14498] uri_escape error triggered by duplicate accountno's for patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 6 19:13:36 CEST 2015


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #40808|0                           |1
        is obsolete|                            |

--- Comment #3 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 40810
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40810&action=edit
Bug 14498 - uri_escape error triggered by duplicate accountno's for patron

If a patron has duplicate accountno's for two different fines in Koha this will
trigger the error
usi_escape: Unmatched [ in regex; marked by <-- HERE in m/([ <-- HERE ])/ at
(eval 133) line 1.
upon attempt to pay. How those accountno's get duplicated is unknown, but
considering accountno
is somewhat vestigial at this point in time, it would be much more sensible to
use accountlines_id
which is has guaranteed uniqueness at the database level.

Test Plan:
1) Create a patron with 2 fines
2) Edit the accountno's for those fines and set them to 0
3) Attempt to pay one, note the error
4) Apply this patch
5) Refesh the page
6) Attempt to pay one, no error this time!
7) Test Pay, Write off, Pay amount, Write off all, and Pay selected

Signed-off-by: Deborah Duce <deborah.duce at huntsvillelibrary.ca>

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


More information about the Koha-bugs mailing list