Bug 41766 - Fix POD in search_for_data_inconsistencies.pl
Summary: Fix POD in search_for_data_inconsistencies.pl
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords: Academy
Depends on:
Blocks:
 
Reported: 2026-02-04 10:29 UTC by Magnus Enger
Modified: 2026-02-04 10:30 UTC (History)
1 user (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Enger 2026-02-04 10:29:57 UTC
misc/maintenance/search_for_data_inconsistencies.pl has POD that looks like this: 

=head1 DESCRIPTION

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

The list is not in POD list syntax, so it is rendered like this: 

DESCRIPTION
    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

The list should either be indented to render as a sort of "pre formatted text block" or have the proper list syntax with something like "=item *".