Bug 21150: Search for item types inconsistencies
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 3 Aug 2018 17:59:33 +0000 (14:59 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 21 Sep 2018 13:52:56 +0000 (15:52 +0200)
commit56833de0380c04ed72b8f692535660361fee0cbd
treed90e5ac4d87b76bbba3c2b7972e1a311da9de825
parentd13124a2e28f505a8e894ec92f0826296dbadb23
Bug 21150: Search for item types inconsistencies

search_for_data_inconsistencies.pl will now display errors if:
1.item-level_itypes is set to "specific item" and items.itype is not set
or not set to an item type defined in the system (itemtypes.itemtype)
2.item-level_itypes is set to "biblio record" and biblioitems.itemtype is not set
or not set to an item type defined in the system (itemtypes.itemtype)

Test plan:
Use the script and the different possible combinations to display the
errors

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 6fd1a8c11484e8c1cd771aea0c6ac98a2ab18f40)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 41b06b411c3ad2a5006980507c344c568357c752)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
misc/maintenance/search_for_data_inconsistencies.pl