[Koha-bugs] [Bug 12214] SQL errors in reports are not shown to user

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 8 18:13:26 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12214

--- Comment #3 from Galen Charlton <gmcharlt at gmail.com> ---
Created attachment 28116
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28116&action=edit
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 at esilibrary.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list