Bug 34974 - search_for_data_inconsistencies.pl: Can't call method "get_column"
Summary: search_for_data_inconsistencies.pl: Can't call method "get_column"
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: 20.11
Hardware: All Linux
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-03 10:09 UTC by Michael Kuhn
Modified: 2023-10-03 10:09 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Kuhn 2023-10-03 10:09:20 UTC
When calling the script "search_for_data_inconsistencies.pl" the only output is the following:

$ sudo koha-shell -c "perl /usr/share/koha/bin/maintenance/search_for_data_inconsistencies.pl" instancename
Can't call method "get_column" on an undefined value at /usr/share/koha/bin/maintenance/search_for_data_inconsistencies.pl line 157.

This happens when using Koha 20.11.02 with MariaDB 10.3.39, running on Debian GNU/Linux 10.

According to Jonathan Druart (3 October 2023) this can be considered as a bug for this script, and it seems (looking at the code) that the bug still exists in master.