[Koha-bugs] [Bug 35672] New: Update and Run SQL button should save changes even if report fails to run

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 29 18:36:29 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35672

            Bug ID: 35672
           Summary: Update and Run SQL button should save changes even if
                    report fails to run
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Reports
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: andrewfh at dubcolib.org
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 23824

To recreate:
- have a report that works, example "SELECT 1+1"
- edit your report to have a SQL error, example "SELECT 1 plus 1"
- click Update and Run SQL, get an error message due to SQL error
- click to edit report again, confirm none of your changes were saved
- re-edit your report to contain the SQL error
- click Update, confirm your report saves with an error

When using Update and Run, we should save the SQL even if it has an error, just
as we do with the old Update button.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23824
[Bug 23824] Add a 'Save and run' button to reports
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list