From bug 20385. We should display a message on the about page (or a new page dedicated to data consistency) if an authtypecode of authority records does not correspond to an authority type defined in the system.
Created attachment 76534 [details] [review] 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`
Need patch from bug 21011 to apply correctly.
Created attachment 76538 [details] [review] 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>
Created attachment 77386 [details] [review] 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>
Created attachment 77387 [details] [review] Bug 20509: Add to script documentation Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Awesome work all! Pushed to master for 18.11
Enhancement pushed to 18.05.x for 18.05.03. As with bug 21011 this is a helpful enhancement for system administrators and has no negative (or visible effects) for the end users. Backported.
Pushed to 17.11.x for 17.11.10