Koha-clms/misc/maintenance
Fridolin Somers 194414625d
Bug 33603: Fix misc/maintenance/search_for_data_inconsistencies.pl when biblio.biblionumber on control field
Since bug 29486, misc/maintenance/search_for_data_inconsistencies.pl search for biblio.biblionumber in MARC record with $record->subfield().
This fails when field is a control field (< 10).
Idem for biblioitems.biblioitemnumber

Test plan :
1.0) On a UNIMARC database (biblio.biblionumber is on 001)
1.1) Run misc/maintenance/search_for_data_inconsistencies.pl
=> Without patch you get error : Control fields (generally, just tags below 010) do not have subfields, use data()
=> With patch no error
2.0) On a MARC21 database (biblio.biblionumber is on 999c)
2.1) Run misc/maintenance/search_for_data_inconsistencies.pl
=> Check you see no error

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit cc1695ba96)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 9971011fb9)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 6254b429b6)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
2023-05-23 20:43:31 +02:00
..
UNIMARC_fix_collectiontitle.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
UNIMARC_sync_date_created_with_marc_biblio.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
auth_show_hidden_data.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
borrowers-force-messaging-defaults.pl Bug 31155: Document --since option in help of borrowers-force-messaging-defaults.pl 2022-10-12 15:47:56 +02:00
check_syspref_cache.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
check_sysprefs.sh
…
cmp_sysprefs.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
compare_es_to_db.pl Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
fix_accountlines_date.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
fix_accountlines_rmdupfines_bug8253.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
fix_mysql_constraints.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
fix_tags_weight.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
generate_MARC21Languages.pl Bug 33341: Address some perlcritic errors in 5.36 2023-05-03 21:03:35 +02:00
make_zebra_dom_cfg_from_record_abs Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
process_record_through_filter.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
remove_items_from_biblioitems.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
sanitize_records.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
search_for_data_inconsistencies.pl Bug 33603: Fix misc/maintenance/search_for_data_inconsistencies.pl when biblio.biblionumber on control field 2023-05-23 20:43:31 +02:00
touch_all_biblios.pl Bug 29078: Resolve division by zero in touch_all scripts 2021-09-28 15:12:45 +02:00
touch_all_items.pl Bug 29078: Resolve division by zero in touch_all scripts 2021-09-28 15:12:45 +02:00
update_authorities.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00