[Koha-bugs] [Bug 16909] Koha::Patrons - Remove checkuniquemember

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 12 20:31:37 CEST 2016


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 53334
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53334&action=edit
Bug 16909: Koha::Patrons - Remove checkuniquemember

C4::Members::checkuniquemember was not really nicely written, was only
used once and was not covered by tests.
I think it does not make sense to keep such complexity and have this
code in the subroutine/method.
Looking at this patch it seems that what this subroutine did can be done
easily in the pl script in few lines.

Test plan:
1/ Create 2 organisations with the same "surname": you should get a
warning.
2/ Create 2 patrons (non-organisation) with the same
surname/firstname/date of birth, you should get a warning

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


More information about the Koha-bugs mailing list