]> git.koha-community.org Git - koha.git/commit
Bug 12214: display SQL errors in reports to users
authorPasi Kallinen <pasi.kallinen@pttk.fi>
Thu, 8 May 2014 07:11:29 +0000 (10:11 +0300)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 9 May 2014 14:40:01 +0000 (14:40 +0000)
commit0625685f7c3940b6c811547fa3ea4449821e8d87
treec164ecd7fa7c456fb6af5fda574fc076563a717a
parent795700d8f084b1512f2b972ebb76d0110c48e818
Bug 12214: display SQL errors in reports to users

When a user runs a report containing an SQL error, no
error is shown to the user.  This patch fixes this.

To test:
1) Run a report with known good SQL.
2) No error is shown.
3) Run a report with bad SQL (eg. a typo in field name)
4) No error is shown.
5) Apply patch
6) Repeat 1-4. For the bad SQL report, the database error
   should be shown.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Reports/Guided.pm
reports/guided_reports.pl