[Koha-bugs] [Bug 11929] patron modification error shows borrowernumber

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Apr 26 21:48:07 CEST 2015


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

--- Comment #4 from Marc Véron <veron at veron.ch> ---
Created attachment 38520
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38520&action=edit
Bug 11929 - patron modification error shows borrowernumber

If an error occurs in patron batch modification, a message similar to the
following is displayed:
Can not update patron with borrowernumber 7055

It would be useful to have the cardnumber as well.

This patch adds the card number to the lists of errors.

It is not easy to trigger an error (see comments).
For testing, I tweaked the sub ModMember in C4/Members.pm to always return
false.

To test:
Apply patch
Go to  Home > Tools > Batch patron modification
Enter some card numbers, continue to modify.
Try to find a modification that triggers an error in ModMember (C4/Members.pm)
If an error is triggered, verify that the card number is displayed in the error
message(s).

-- 
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