]> git.koha-community.org Git - koha.git/commit
Bug 21591: Check for record level item type issues too
authorNick Clemens <nick@bywatersolutions.com>
Wed, 17 Oct 2018 19:56:12 +0000 (19:56 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 17 Jun 2020 23:43:04 +0000 (23:43 +0000)
commit7d915fbab1f121f90a3d3493b96d2b5837e2a67e
treece5538b85a113126f72a162791f91fb86051d79d
parent3678ac47d57972527298f9ee77e5e58526abdf5c
Bug 21591: Check for record level item type issues too

To test:
1 - sudo koha-mysql kohadev
2 - UPDATE biblioitems SET itemtype = NULL where biblionumber = 1
3 - UPDATE items SET itype = NULL where biblionumber = 1
4 - perl misc/maintenance/search_for_data_inconsistencies.pl
5 - Notice warnings
6 - Apply patch
7 - Undefined itemtype on bibliolevel is now warned
7 - Test also with itype=""

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 6beda5cf1d1bb76ac692f5443e4b75f727c9c4ba)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
misc/maintenance/search_for_data_inconsistencies.pl