Koha/misc/maintenance
Fridolin Somers ec6c143f1b
Bug 23871: data inconsistencies - check title exists
In biblio records, a field must be linked to biblio.title.
200$a in UNIMARC, 100$a MARC21 (and other).

If this field is undefined, some pages like checkouts table can fail.

Test plan :
1) Remove biblio title in SQL :
   UPDATE biblio SET title='' WHERE biblionumber=XXX
2) Run misc/maintenance/search_for_data_inconsistencies.pl
3) You see the record as an inconsistency
4) Reset a title
   UPDATE biblio SET title='50 shades of Grey' WHERE biblionumber=XXX
5) Run misc/maintenance/search_for_data_inconsistencies.pl
6) Record is no longer an inconsistency

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-04-14 16:55:13 +01:00
..
auth_show_hidden_data.pl
borrowers-force-messaging-defaults.pl
check_sysprefs.sh
cmp_sysprefs.pl
compare_es_to_db.pl
fix_accountlines_date.pl
fix_accountlines_rmdupfines_bug8253.pl
fix_mysql_constraints.pl
fix_tags_weight.pl
generate_MARC21Languages.pl
make_zebra_dom_cfg_from_record_abs
process_record_through_filter.pl
remove_items_from_biblioitems.pl
sanitize_records.pl
search_for_data_inconsistencies.pl
touch_all_biblios.pl
touch_all_items.pl
UNIMARC_fix_collectiontitle.pl
UNIMARC_sync_date_created_with_marc_biblio.pl
update_authorities.pl