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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to