[Koha-bugs] [Bug 26317] New: Misleading choices from reports error when runtime parameter is named incorrectly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Aug 28 15:12:04 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26317
Bug ID: 26317
Summary: Misleading choices from reports error when runtime
parameter is named incorrectly
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Reports
Assignee: koha-bugs at lists.koha-community.org
Reporter: andrew at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
To recreate:
- create a new report from SQL
- enter "SELECT <<whatever|whatever>>" and try to save
- Get an error "Errors found when processing parameters for report:
whatever: The authorized value category (whatever) you selected does not
exist."
- Error provides two options, "Save Anyway" or "Edit SQL"
- Click Edit SQL, get taken to an empty report
"Edit SQL" wants to take you back to the previously saved version of your
report. But if you've ended up at this error from a brand new report that's
never been saved, then the "Edit SQL" button is going to take you to a blank
report, trashing whatever you've just written. If we can't retain that SQL
through the error on an unsaved report, then we should remove the Edit SQL
button when working with a report that hasn't been saved yet.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list