Bug 20509: Search for not defined authority codes
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 27 Jun 2018 18:35:57 +0000 (15:35 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 22 Aug 2018 12:48:19 +0000 (12:48 +0000)
commit9558a118dacd74b77c27f63fc41611945aeff052
tree235d49c32feca0fe277d5c245b75b8d0ca451ac0
parent5892ab07118b04a8071b49c40b441df326e15f07
Bug 20509: Search for not defined authority codes

This patch adds a new check in
misc/maintenance/search_for_data_inconsistencies.pl to search for not
defined authority codes.

Test plan:
Set some auth_header.authtypecode to not defined authority codes in Koha
(UPDATE auth_header SET authtypecode="XXX" WHERE authid=42;)
Then run `misc/maintenance/search_for_data_inconsistencies.pl`

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