[Koha-bugs] [Bug 29761] Patron batch modification tool - duplicated information on the listing page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 17 17:10:23 CET 2022


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

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

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

--- Comment #10 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 130763
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130763&action=edit
Bug 29761: Prevent batch patron modification to process several time the same
patron

If a cardnumber, SMS number, or borrower number is inputted multiple times then
the batch patron
modification page should not display that patron multiple times.

Test plan:
1. Create three text files that list card numbers, SMS numbers, and borrower
numbers for three patrons. Example lists are below, notice in each there is one
number duplicated:

Card numbers:
  23529000035676
  23529000651225
  23529000080862
  23529000035676

Borrower numbers:
  19
  49
  7
  49

SMS numbers:
  2125551212
  2125551212
  2125551213
  2125551214

2. Enable sending of SMS messages:
* Set SMSSendDriver system preference to Email

3. Make sure the cardnumbers, borrower numbers, and SMS numbers listed
above belong to patrons in your Koha

4. Go to Tools > Batch patron modification

5. Upload lists of cardnumbers, SMS numbers, and borrower numbers above, and
confirm the following is happening in the batch patron modification page:
- Upload the text file of cardnumbers. Notice one patron is displayed twice
- Paste in the list of cardnumbers. Notice one patron is displayed twice
- Upload the text file of SMS numbers. Notice one patron is displayed twice
- Paste in the list of SMS numbers. Notice one patron is displayed twice
- Upload the text file of borrower numbers. Notice one patron is displayed
twice
- Paste in the list of borrower numbers. Notice one patron is displayed twice

6. Apply patch and restart services

7. Repeat step 5 and this time observe that the patron record is not duplicated
in the batch patron modification page

Sponsored-By: Catalyst IT

Signed-off-by: David Nind <david at davidnind.com>

JD Amended patch: adjust commit title
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

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


More information about the Koha-bugs mailing list