[Bug 37667] New: q_errors in export phase is wrong data type
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37667 Bug ID: 37667 Summary: q_errors in export phase is wrong data type Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Reports Assignee: koha-bugs@lists.koha-community.org Reporter: dcook@prosentient.com.au QA Contact: testopia@bugs.koha-community.org In reports/guided_reports.pl, when you do an export, there is a test for "$q_errors and @$q_errors", but in most cases $q_errors will actually be a hashref returned by execute_query and not an arrayref. I think this probably hasn't been caught because it's hard to initiate the Export phase for a report with errors, since it won't do the Run phase correctly. But if you have a bad report and manually go to the export link, you can get guided_reports.pl to return a 500 because of the $q_errors data type being wrong. Anyway, quite low severity, but raising it anyway... -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37667 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|q_errors in export phase is |q_errors in Reports export |wrong data type |phase is wrong data type -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org