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.