| Summary: | search_for_data_inconsistencies.pl: Fix list of inconsistencies | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Magnus Enger <magnus> |
| Component: | Command-line Utilities | Assignee: | Bugs List <koha-bugs> |
| Status: | BLOCKED --- | QA Contact: | Testopia <testopia> |
| Severity: | trivial | ||
| Priority: | P5 - low | CC: | robin |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36027 | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Crowdfunding goal: | 0 |
| Patch complexity: | Trivial patch | Documentation contact: | |
| Documentation submission: | Text to go in the release notes: | ||
| Version(s) released in: | Circulation function: | ||
| Bug Depends on: | 36027 | ||
| Bug Blocks: | |||
| Attachments: | Bug 38755: search_for_data_inconsistencies.pl: Fix list of inconsistencies | ||
Created attachment 175908 [details] [review] 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 |
The relevant POD 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 =cut ----------------------------------------------------- perldoc renders the list as running text, which is kind of hard to read. The list should either be formatted with "=item" or indented to be treated as "pre formatted" chunk of text. I would vote for the first option.