Fridolin Somers
3d0015fe69
In search_for_data_inconsistencies.pl when there are several inconsistencies on same framework, the second output of items contains the first one. Looks like it is since Bug 21466 Test plan using koha-testing-docker : 1) Create 2 inconsistencies on the same item via SQL : update items set itemlost = 9 where itemnumber=900; update items set notforloan = 8 where itemnumber=900; 2) Without patch 3) Run ./misc/maintenance/search_for_data_inconsistencies.pl => You see duplicate output : == Wrong values linked to authorised values == * The Framework *BKS* is using the authorised value's category *NOT_LOAN*, but the following items.notforloan do not have a value defined ({itemnumber => value }): {900 => 8} * The Framework *BKS* is using the authorised value's category *LOST*, but the following items.itemlost do not have a value defined ({itemnumber => value }): {900 => 8} {900 => 9} 4) Apply patch 5) Run ./misc/maintenance/search_for_data_inconsistencies.pl => Fixed :D == Wrong values linked to authorised values == * The Framework *BKS* is using the authorised value's category *LOST*, but the following items.itemlost do not have a value defined ({itemnumber => value }): {900 => 9} * The Framework *BKS* is using the authorised value's category *NOT_LOAN*, but the following items.notforloan do not have a value defined ({itemnumber => value }): {900 => 8} Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> |
||
---|---|---|
.. | ||
auth_show_hidden_data.pl | ||
borrowers-force-messaging-defaults.pl | ||
check_syspref_cache.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 |