]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 15 Jun 2020 09:53:36 +0000 (11:53 +0200)
commit6beda5cf1d1bb76ac692f5443e4b75f727c9c4ba
tree9f9dcb713bd6d8ff88322e50ca5e675bc33c6293
parent488a9fc8ed956a6c516e2fa79caf189dce9d63a2
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>
misc/maintenance/search_for_data_inconsistencies.pl