From a67c3c7d10a115d5d10bfa2c4b1a470a1484d8eb Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Mon, 23 Dec 2024 10:15:25 +0100 Subject: [PATCH] Bug 38755: search_for_data_inconsistencies.pl: Fix list of inconsistencies To reproduce: - Run "perldoc misc/maintenance/search_for_data_inconsistencies.pl" - Verify the list of inconsistencies is rendered as running text To test: - Apply this patch - Run "perldoc misc/maintenance/search_for_data_inconsistencies.pl" - Verify the list of inconsistencies is now rendered as a bulleted list, with two list elements correctly indented --- .../search_for_data_inconsistencies.pl | 33 ++++++++++++++----- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/misc/maintenance/search_for_data_inconsistencies.pl b/misc/maintenance/search_for_data_inconsistencies.pl index 4c0eddf792..db1f426fe7 100755 --- a/misc/maintenance/search_for_data_inconsistencies.pl +++ b/misc/maintenance/search_for_data_inconsistencies.pl @@ -476,14 +476,29 @@ search_for_data_inconsistencies.pl Catch data inconsistencies in Koha database -* Items with undefined homebranch and/or holdingbranch -* Authorities with undefined authtypecodes/authority types -* Item types: - * if item types are defined at item level (item-level_itypes=specific item), - then items.itype must be set else biblioitems.itemtype must be set - * Item types defined in items or biblioitems must be defined in the itemtypes table -* Invalid MARCXML in bibliographic records -* Patrons with invalid category types due to lower and upper age limits -* Any date fields in the database (timestamp, datetime, date) set to 0000-00-00 +=over 4 + +=item * Items with undefined homebranch and/or holdingbranch + +=item * Authorities with undefined authtypecodes/authority types + +=item * Item types: + +=over 4 + +=item * if item types are defined at item level (item-level_itypes=specific item), +then items.itype must be set else biblioitems.itemtype must be set + +=item * Item types defined in items or biblioitems must be defined in the itemtypes table + +=back + +=item * Invalid MARCXML in bibliographic records + +=item * Patrons with invalid category types due to lower and upper age limits + +=item * Any date fields in the database (timestamp, datetime, date) set to 0000-00-00 + +=back =cut -- 2.34.1