[Bug 42108] New: Add ability to specify that a report can only be run as a foreground or background report
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Bug ID: 42108 Summary: Add ability to specify that a report can only be run as a foreground or background report Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Reports Assignee: koha-bugs@lists.koha-community.org Reporter: kyle@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: lisette@bywatersolutions.com Building on bug 41921, it would be useful to be able to specify a report can only run as a background report for long-running reports. For the sake of completeness, we could also add the ability to specify reports as being foreground-only reports as well. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |41921 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41921 [Bug 41921] Add ability to run reports as background jobs -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |kyle@bywatersolutions.com |ity.org | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |42643 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42643 [Bug 42643] [OMNIBUS] Assorted performance and stability work -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |42667 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42667 [Bug 42667] Split the ability to edit other librarian's reports into a separate permission -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #1 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 199597 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199597&action=edit Bug 42108: Add new column saved_sql.run_type Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #2 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 199598 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199598&action=edit Bug 42108: Enforce per-report run_type in prep_report Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #3 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 199599 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199599&action=edit Bug 42108: Implement use of run_type Adds a "Run type" pulldown to the reports editor. If the report specifies foreground or background, it skip the intermediate step where the user would normally pick between foreground and background and just run it using the given type. Export and svc/report still pass a run_type of foreground, so running a background-only report through those endpoints gives an error ( on purpose ). The ability to run background reports for svc/report will be addressed in a future bug report. Test Plan: 1) Apply this patch 2) Run updatedatabase.pl 3) Restart all the things! 4) Browse to reports/guided_reports.pl, create a report Set the new report to "background only" 5) Run the report 6) Note it is run immediately as a background job without the intermediary step of selecting the run type 7) Edit the report, set it to foreground only 8) Run the repot 9) Note it again skips the middle step, but this time runs as if foreground were selected 10) Set to "both", not you again have both choices as before this patch set! Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #4 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 199600 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199600&action=edit Bug 42108: Update Schema files [DO NOT PUSH] Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |42596 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42596 [Bug 42596] Add ability for reports APIs ( svc/report, opac/svc/report ) to run reports as background jobs -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com Status|Needs Signoff |Patch doesn't apply --- Comment #5 from David Nind <david@davidnind.com> --- The patches no longer apply 8-(... Bug 42108 - Add ability to specify that a report can only be run as a foreground or background report • 199597 - Bug 42108: Add new column saved_sql.run_type • 199598 - Bug 42108: Enforce per-report run_type in prep_report • 199599 - Bug 42108: Implement use of run_type • 199600 - Bug 42108: Update Schema files [DO NOT PUSH] Apply? [(y)es, (n)o, (i)nteractive] y Preparing 4 patch(es): ✓ Prepared 4 patch(es) Applying 4 patch(es): ✓ [1/4] Applied Bug 42108: Add new column saved_sql.run_type ✓ [2/4] Applied Bug 42108: Enforce per-report run_type in prep_report Patch application failed for attachment 199599 - Bug 42108: Implement use of run_type ... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|42643 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42643 [Bug 42643] [OMNIBUS] Assorted performance and stability work -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |43016 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43016 [Bug 43016] [OMNIBUS] Server resource protection -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #199597|0 |1 is obsolete| | Attachment #199598|0 |1 is obsolete| | Attachment #199599|0 |1 is obsolete| | Attachment #199600|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #6 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 203118 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203118&action=edit Bug 42108: Add new column saved_sql.run_type Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #7 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 203119 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203119&action=edit Bug 42108: Enforce per-report run_type in prep_report Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #8 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 203120 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203120&action=edit Bug 42108: Implement use of run_type Adds a "Run type" pulldown to the reports editor. If the report specifies foreground or background, it skip the intermediate step where the user would normally pick between foreground and background and just run it using the given type. Export and svc/report still pass a run_type of foreground, so running a background-only report through those endpoints gives an error ( on purpose ). The ability to run background reports for svc/report will be addressed in a future bug report. Test Plan: 1) Apply this patch 2) Run updatedatabase.pl 3) Restart all the things! 4) Browse to reports/guided_reports.pl, create a report Set the new report to "background only" 5) Run the report 6) Note it is run immediately as a background job without the intermediary step of selecting the run type 7) Edit the report, set it to foreground only 8) Run the repot 9) Note it again skips the middle step, but this time runs as if foreground were selected 10) Set to "both", not you again have both choices as before this patch set! Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #9 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 203121 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203121&action=edit Bug 42108: Update Schema files [DO NOT PUSH] Patch from commit 3946e69 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #10 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 203122 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203122&action=edit Bug 42108: (follow-up) Tidy Patch from commit 436b4ec -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew@bywatersolutions.com | |, | |lucas@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Lisette Scheer <lisette@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zoho.roboto@bywatersolution | |s.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Patch doesn't apply --- Comment #11 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- This no longer applies cleanly after changes in 41921 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|kyle@bywatersolutions.com |lucas@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #203118|0 |1 is obsolete| | Attachment #203119|0 |1 is obsolete| | Attachment #203120|0 |1 is obsolete| | Attachment #203121|0 |1 is obsolete| | Attachment #203122|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #12 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 207497 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207497&action=edit Bug 42108: Add new column saved_sql.run_type Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #13 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 207498 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207498&action=edit Bug 42108: Enforce per-report run_type in prep_report Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #14 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 207499 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207499&action=edit Bug 42108: Implement use of run_type Adds a "Run type" pulldown to the reports editor. If the report specifies foreground or background, it skip the intermediate step where the user would normally pick between foreground and background and just run it using the given type. Export and svc/report still pass a run_type of foreground, so running a background-only report through those endpoints gives an error ( on purpose ). The ability to run background reports for svc/report will be addressed in a future bug report. Test Plan: 1) Apply this patch 2) Run updatedatabase.pl 3) Restart all the things! 4) Browse to reports/guided_reports.pl, create a report Set the new report to "background only" 5) Run the report 6) Note it is run immediately as a background job without the intermediary step of selecting the run type 7) Edit the report, set it to foreground only 8) Run the repot 9) Note it again skips the middle step, but this time runs as if foreground were selected 10) Set to "both", not you again have both choices as before this patch set! Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #15 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 207500 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207500&action=edit Bug 42108: Update Schema files [DO NOT PUSH] -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #16 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 207501 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207501&action=edit Bug 42108: (follow-up) Tidy -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff --- Comment #17 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- rebased for current main on top of Bug 41921 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Laurence Rault <laurence.rault@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Patch doesn't apply CC| |laurence.rault@biblibre.com --- Comment #18 from Laurence Rault <laurence.rault@biblibre.com> --- Does not apply because depends on Bug 41921 that can not apply Patch application failed for attachment 206914 - Bug 41921: Add ability to run reports as background jobs -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Patch doesn't apply --- Comment #19 from David Nind <david@davidnind.com> --- Bug 41921 now applies cleanly. These patches no longer apply: Patch application failed for attachment 207499 - Bug 42108: Implement use of run_type -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #207497|0 |1 is obsolete| | Attachment #207498|0 |1 is obsolete| | Attachment #207499|0 |1 is obsolete| | Attachment #207500|0 |1 is obsolete| | Attachment #207501|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #20 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 207913 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207913&action=edit Bug 42108: Add new column saved_sql.run_type Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #21 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 207914 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207914&action=edit Bug 42108: Enforce per-report run_type in prep_report Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #22 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 207915 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207915&action=edit Bug 42108: Implement use of run_type Adds a "Run type" pulldown to the reports editor. If the report specifies foreground or background, it skip the intermediate step where the user would normally pick between foreground and background and just run it using the given type. Export and svc/report still pass a run_type of foreground, so running a background-only report through those endpoints gives an error ( on purpose ). The ability to run background reports for svc/report will be addressed in a future bug report. Test Plan: 1) Apply this patch 2) Run updatedatabase.pl 3) Restart all the things! 4) Browse to reports/guided_reports.pl, create a report Set the new report to "background only" 5) Run the report 6) Note it is run immediately as a background job without the intermediary step of selecting the run type 7) Edit the report, set it to foreground only 8) Run the repot 9) Note it again skips the middle step, but this time runs as if foreground were selected 10) Set to "both", not you again have both choices as before this patch set! Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #23 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 207916 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207916&action=edit Bug 42108: Update Schema files [DO NOT PUSH] -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #24 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 207917 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207917&action=edit Bug 42108: (follow-up) Tidy -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA --- Comment #25 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- The report edit screen does not consistently display the actual selected value for Run Type. To recreate: - create a new report, set Run Type to Both, save - your page reloads on save and correctly shows "Both" - Edit your report, set Run Type to Foreground only, save - your page reloads on save and incorrectly still shows "Both" - without saving or changing anything, click back to your list of saved reports, then edit your report, confirm page loads showing the correct value of "Foreground only" - set Run Type to "Background only" and save, confirm on reload the page again incorrectly shows "Both" Additionally, I don't love how this interacts with the ReportsRunInBackground syspref. - set ReportsRunInBackground to "always run in foreground" - create a new report, set Run Type to "Background only," save - attempt to run your report, get a permissions error I'd argue the syspref should take precedence over the value in the report. If the syspref is not set to "Let the user choose" then the Run Type option should be hidden (and ignored in previously set on extant reports). -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #26 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 208072 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208072&action=edit Bug 42108: (QA follow-up) Show the saved run type after saving a report Passes run_type back to the template after saving a new or edited report, the editor showed "Both" no matter what was saved. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #27 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- Created attachment 208073 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208073&action=edit Bug 42108: (QA follow-up) Let ReportsRunInBackground take precedence over a report's run type Patch from commit f2e4694 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |43823 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43823 [Bug 43823] Show report Run Type in more places -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |43824 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43824 [Bug 43824] Report Run Type should be copied when duplicating a report -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #207913|0 |1 is obsolete| | Attachment #207914|0 |1 is obsolete| | Attachment #207915|0 |1 is obsolete| | Attachment #207916|0 |1 is obsolete| | Attachment #207917|0 |1 is obsolete| | Attachment #208072|0 |1 is obsolete| | Attachment #208073|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #28 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 208172 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208172&action=edit Bug 42108: Add new column saved_sql.run_type Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #29 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 208173 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208173&action=edit Bug 42108: Enforce per-report run_type in prep_report Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #30 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 208174 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208174&action=edit Bug 42108: Implement use of run_type Adds a "Run type" pulldown to the reports editor. If the report specifies foreground or background, it skip the intermediate step where the user would normally pick between foreground and background and just run it using the given type. Export and svc/report still pass a run_type of foreground, so running a background-only report through those endpoints gives an error ( on purpose ). The ability to run background reports for svc/report will be addressed in a future bug report. Test Plan: 1) Apply this patch 2) Run updatedatabase.pl 3) Restart all the things! 4) Browse to reports/guided_reports.pl, create a report Set the new report to "background only" 5) Run the report 6) Note it is run immediately as a background job without the intermediary step of selecting the run type 7) Edit the report, set it to foreground only 8) Run the repot 9) Note it again skips the middle step, but this time runs as if foreground were selected 10) Set to "both", not you again have both choices as before this patch set! Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #31 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 208175 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208175&action=edit Bug 42108: Update Schema files [DO NOT PUSH] Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #32 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 208176 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208176&action=edit Bug 42108: (follow-up) Tidy Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #33 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 208177 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208177&action=edit Bug 42108: (QA follow-up) Show the saved run type after saving a report Passes run_type back to the template after saving a new or edited report, the editor showed "Both" no matter what was saved. Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #34 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 208178 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208178&action=edit Bug 42108: (QA follow-up) Let ReportsRunInBackground take precedence over a report's run type Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Miranda Nero <mnero@oslri.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mnero@oslri.net -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Lisette Scheer <lisette@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |martin.renvoize@openfifth.c |y.org |o.uk -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |release-notes-needed -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This enhancement allows release notes| |individual reports to be | |set to always run in either | |the foreground or the | |background. This option is | |set when either creating or | |editing a report. The | |option is only available | |when the | |ReportsRunInBackground | |system preference is set to | |"let the user choose." If | |the system preference is | |set to force all reports | |into either the foreground | |or the background, the | |per-report option is hidden | |and overridden. Keywords|release-notes-needed | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA Patch complexity|--- |Medium patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #208172|0 |1 is obsolete| | Attachment #208173|0 |1 is obsolete| | Attachment #208174|0 |1 is obsolete| | Attachment #208175|0 |1 is obsolete| | Attachment #208176|0 |1 is obsolete| | Attachment #208177|0 |1 is obsolete| | Attachment #208178|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #35 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208707 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208707&action=edit Bug 42108: Add new column saved_sql.run_type Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #36 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208708 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208708&action=edit Bug 42108: Enforce per-report run_type in prep_report Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #37 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208709 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208709&action=edit Bug 42108: Implement use of run_type Adds a "Run type" pulldown to the reports editor. If the report specifies foreground or background, it skip the intermediate step where the user would normally pick between foreground and background and just run it using the given type. Export and svc/report still pass a run_type of foreground, so running a background-only report through those endpoints gives an error ( on purpose ). The ability to run background reports for svc/report will be addressed in a future bug report. Test Plan: 1) Apply this patch 2) Run updatedatabase.pl 3) Restart all the things! 4) Browse to reports/guided_reports.pl, create a report Set the new report to "background only" 5) Run the report 6) Note it is run immediately as a background job without the intermediary step of selecting the run type 7) Edit the report, set it to foreground only 8) Run the repot 9) Note it again skips the middle step, but this time runs as if foreground were selected 10) Set to "both", not you again have both choices as before this patch set! Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #38 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208710 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208710&action=edit Bug 42108: Update Schema files [DO NOT PUSH] Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #39 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208711 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208711&action=edit Bug 42108: (follow-up) Tidy Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #40 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208712 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208712&action=edit Bug 42108: (QA follow-up) Show the saved run type after saving a report Passes run_type back to the template after saving a new or edited report, the editor showed "Both" no matter what was saved. Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #41 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208713 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208713&action=edit Bug 42108: (QA follow-up) Let ReportsRunInBackground take precedence over a report's run type Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #42 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 208714 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208714&action=edit Bug 42108: (QA follow-up) Handle background-only reports in foreground callers and validate run_type prep_report now throws RunTypeNotAllowed for a background-only report requested in the foreground, but svc/report, opac/svc/report and the guided_reports.pl export op always request foreground and did not handle it, so they would fail with an unhandled exception. * Return a 403 (JSON error report_background_only) from svc/report and opac/svc/report, and insufficient_permission from the export op. * Whitelist the run_type CGI parameter in guided_reports.pl; an invalid value previously reached Koha::Object->store and died with BadValue. Invalid values are now ignored (default on create, unchanged on edit). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #208707|0 |1 is obsolete| | Attachment #208708|0 |1 is obsolete| | Attachment #208709|0 |1 is obsolete| | Attachment #208710|0 |1 is obsolete| | Attachment #208711|0 |1 is obsolete| | Attachment #208712|0 |1 is obsolete| | Attachment #208713|0 |1 is obsolete| | Attachment #208714|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #43 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 210118 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210118&action=edit Bug 42108: Add new column saved_sql.run_type Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #44 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 210119 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210119&action=edit Bug 42108: Enforce per-report run_type in prep_report Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #45 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 210120 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210120&action=edit Bug 42108: Implement use of run_type Adds a "Run type" pulldown to the reports editor. If the report specifies foreground or background, it skip the intermediate step where the user would normally pick between foreground and background and just run it using the given type. Export and svc/report still pass a run_type of foreground, so running a background-only report through those endpoints gives an error ( on purpose ). The ability to run background reports for svc/report will be addressed in a future bug report. Test Plan: 1) Apply this patch 2) Run updatedatabase.pl 3) Restart all the things! 4) Browse to reports/guided_reports.pl, create a report Set the new report to "background only" 5) Run the report 6) Note it is run immediately as a background job without the intermediary step of selecting the run type 7) Edit the report, set it to foreground only 8) Run the repot 9) Note it again skips the middle step, but this time runs as if foreground were selected 10) Set to "both", not you again have both choices as before this patch set! Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #46 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 210121 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210121&action=edit Bug 42108: Update Schema files [DO NOT PUSH] Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #47 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 210122 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210122&action=edit Bug 42108: (follow-up) Tidy Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #48 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 210123 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210123&action=edit Bug 42108: (QA follow-up) Show the saved run type after saving a report Passes run_type back to the template after saving a new or edited report, the editor showed "Both" no matter what was saved. Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #49 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 210124 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210124&action=edit Bug 42108: (QA follow-up) Let ReportsRunInBackground take precedence over a report's run type Signed-off-by: Mary Teal <mteal@greenvillelibrary.org> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #50 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 210125 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210125&action=edit Bug 42108: (QA follow-up) Handle background-only reports in foreground callers and validate run_type prep_report now throws RunTypeNotAllowed for a background-only report requested in the foreground, but svc/report, opac/svc/report and the guided_reports.pl export op always request foreground and did not handle it, so they would fail with an unhandled exception. * Return a 403 (JSON error report_background_only) from svc/report and opac/svc/report, and insufficient_permission from the export op. * Whitelist the run_type CGI parameter in guided_reports.pl; an invalid value previously reached Koha::Object->store and died with BadValue. Invalid values are now ignored (default on create, unchanged on edit). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #51 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Rebased for current main and on top of new changes for Bug 41921 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main Version(s)| |26.11.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #52 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Thanks everyone! Pushed to main for 26.11! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Needs documenting --- Comment #53 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Enhancement, no 26.05.x backport. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the|This enhancement allows |Saved reports can now be release notes|individual reports to be |set to run only in the |set to always run in either |foreground or only in the |the foreground or the |background. The report |background. This option is |editor has a "Run type" |set when either creating or |pulldown with "Both", |editing a report. The |"Foreground only" and |option is only available |"Background only". If a |when the |report is set to one run |ReportsRunInBackground |type, it runs that way |system preference is set to |without the step where the |"let the user choose." If |user chooses how to run it. |the system preference is |Existing reports keep |set to force all reports |"Both". |into either the foreground | |or the background, the |The pulldown is shown only |per-report option is hidden |when |and overridden. |`ReportsRunInBackground` is | |set to "let the user | |choose". With "always run | |as a background job" or | |"always run in the | |foreground", the report's | |run type is ignored. | | | |**To enable** | |1. Set | |`ReportsRunInBackground` to | |"let the user choose" in | |Administration > System | |preferences. | | | |**Upgrade notes** | |- Background-only reports | |cannot be run in the | |foreground. The reports API | |(`svc/report`, | |`opac/svc/report`) returns | |a 403 error with | |`report_background_only`, | |and exporting a | |background-only report from | |the guided reports page | |shows an insufficient | |permission error. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the|Saved reports can now be |This enhancement allows release notes|set to run only in the |individual reports to be |foreground or only in the |set to always run in either |background. The report |the foreground or the |editor has a "Run type" |background. This option is |pulldown with "Both", |set when either creating or |"Foreground only" and |editing a report. The |"Background only". If a |option is only available |report is set to one run |when the |type, it runs that way |ReportsRunInBackground |without the step where the |system preference is set to |user chooses how to run it. |"let the user choose." If |Existing reports keep |the system preference is |"Both". |set to force all reports | |into either the foreground |The pulldown is shown only |or the background, the |when |per-report option is hidden |`ReportsRunInBackground` is |and overridden. |set to "let the user | |choose". With "always run | |as a background job" or | |"always run in the | |foreground", the report's | |run type is ignored. | | | |**To enable** | |1. Set | |`ReportsRunInBackground` to | |"let the user choose" in | |Administration > System | |preferences. | | | |**Upgrade notes** | |- Background-only reports | |cannot be run in the | |foreground. The reports API | |(`svc/report`, | |`opac/svc/report`) returns | |a 403 error with | |`report_background_only`, | |and exporting a | |background-only report from | |the guided reports page | |shows an insufficient | |permission error. | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42108 --- Comment #54 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Hello, On 18 November I ran a bulk update of the "Text to go in release notes" field on bugs in the 26.11 range, to fill in missing notes using a consistent template. A mistake in that run also overwrote the release note you had written on this bug. That was not intended, and I am sorry for the noise. I have restored your original text from the bug history, so the field is exactly as you wrote it. Nothing else on this bug was changed. Thank you for writing the note. Martin -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org