]> git.koha-community.org Git - koha.git/commit
Bug 34505: Patron invalid age in search_for_data_inconsistencies.pl skip expired...
authorFridolin Somers <fridolin.somers@biblibre.com>
Wed, 9 Aug 2023 07:44:24 +0000 (21:44 -1000)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Thu, 31 Aug 2023 10:23:54 +0000 (10:23 +0000)
commitff6cb81dbe91c8349023a047e066cee59c916e22
tree7a97f06a4bc71ea1f224d04c836756f892a71cc3
parent722ce8a403e8395c8919c90b62bd33afbe0cdbdd
Bug 34505: Patron invalid age in search_for_data_inconsistencies.pl skip expired patrons

Bug 26311 added patron invalid age in search_for_data_inconsistencies.pl
But this is not relevant for expired patrons, especially in child categories.
Check should skip expired patrons

1) Set a non-expired patron with invalid age
2) Run misc/maintenance/search_for_data_inconsistencies.pl
=> Check you see the patron
3) Edit patron to be expired
4) Run misc/maintenance/search_for_data_inconsistencies.pl
=> Check you do not see the patron

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
[EDIT] If we do not want to test valid age for expired patrons, you should
obviously test expired first. Reversing the order in the test.
Putting it in the search criteria would be nicer but leads to more
complicated code.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit c26dff61e729df5c782840dfe29f032c83e0e14b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 22674a7ddfd986e80c7e65c9843f17b610cdcb11)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
misc/maintenance/search_for_data_inconsistencies.pl