Bug 21011: Search for items with not defined homebranch and/or holdingbranch
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 27 Jun 2018 18:32:56 +0000 (15:32 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 22 Aug 2018 12:41:51 +0000 (12:41 +0000)
commit7d47bb311827298ddc30297bbd388e8f8905db48
tree32e32d9e4025f242c348826ea0decabc5d15b2b5
parent9ccfa48f6ee8ec44d1621874383b10f68d939f34
Bug 21011: Search for items with not defined homebranch and/or holdingbranch

From bug 5789: scripts can fail if items.homebranch and/or
items.holdingbranch is not defined

This script will help people catching these migration issues.

Test plan:
Update your items table to set some homebranch or holdingbranch to NULL
Run this script
It will display the different items with not defined values in these
fields.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
misc/maintenance/search_for_data_inconsistencies.pl [new file with mode: 0644]