[Koha-bugs] [Bug 23218] Batch patron modification empty attribute causes improper handling of values

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jun 29 17:24:26 CEST 2019


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 91130
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91130&action=edit
Bug 23218: Fix shift in patron's attributes in batch patron modification

When the "new" button is clicked without selecting a patron's attribute, the
update will have unexpected behaviors.

There is indeed a difference in the number of patron's attributes and the
number of values.

Test plan:
Go to the batch patron modification
Enter a cardnumber
At the bottom of the page, click "new" without selecting an attribute
On the second line select one, and a value (different than an empty
string)
Save
=> The attribute will be updated with an empty string

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


More information about the Koha-bugs mailing list