4177d3ecd3
To reproduce: - Go to Home > Reports Guided reports wizard - Create report from SQL - Enter something like: select holdrio from borrowers - Save SQL - run report Result: Can't use an undefined value as an ARRAY reference at /usr/share/kohaclone/reports/guided_reports.pl line 932. expected: graceful error message - Change sql to something like: select id from holdrio; - Save SQL - Run report Result: Can't use an undefined value as an ARRAY reference at /usr/share/kohaclone/reports/guided_reports.pl line 932. expected: graceful error message - Change sql to something like: pling from plong - Save SQL Result (after saving): Message "The database returned the following error: 1" Expected: Meaningful message "The database returned the following error: No SELECT" (similar to forbidden statements as UPDATE) Test plan: - Apply patch - Try to reproduce issues above. They should be resolved. Signed-off-by: Nick Clemens <nick@quecheelibrary.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> |
||
---|---|---|
.. | ||
acquisitions_stats.pl | ||
bor_issues_top.pl | ||
borrowers_out.pl | ||
borrowers_stats.pl | ||
cat_issues_top.pl | ||
catalogue_out.pl | ||
catalogue_stats.pl | ||
dictionary.pl | ||
guided_reports.pl | ||
issues_avg_stats.pl | ||
issues_by_borrower_category.plugin | ||
issues_stats.pl | ||
itemslost.pl | ||
itemtypes.plugin | ||
manager.pl | ||
reports-home.pl | ||
reservereport.pl | ||
reserves_stats.pl | ||
serials_stats.pl | ||
stats.print.pl | ||
stats.screen.pl |