[Bug 30228] New: Batch item modification fails if only action is deleting subfields
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30228 Bug ID: 30228 Summary: Batch item modification fails if only action is deleting subfields Change sponsored?: --- Product: Koha Version: 21.11 Hardware: All OS: Linux Status: NEW Severity: minor Priority: P5 - low Component: Tools Assignee: koha-bugs@lists.koha-community.org Reporter: hannah.co@northwestu.edu QA Contact: testopia@bugs.koha-community.org When running batch item modification, if the only action is checked box(es) to delete a subfield, the batch item modification fails. The "Job has been enqueued" screen appears. On clicking "View detail of the enqueued job", we receive a 500 error. On checking the item(s), the subfields we've tried to delete are still populated with the previous data. If any values are added/edited, or dropdowns selected for any subfields, the subfields with checked boxes will be correctly deleted. Subfield deletion without any other edits does not work. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30228 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m --- Comment #1 from Fridolin Somers <fridolin.somers@biblibre.com> --- Hi, I can't reproduce on master. Can you ? Maybe on a sandbox : https://wiki.koha-community.org/wiki/Sandboxes -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30228 --- Comment #2 from Hannah Co <hannah.co@northwestu.edu> --- Error messages from my logs: AH01215: Can't use an undefined value as an ARRAY reference at /usr/share/koha/lib/Koha/BackgroundJob/BatchUpdateItem.pm line 179.: /usr/share/koha/intranet/cgi-bin/admin/background_jobs.pl, referer: https://koha-staff.northwestu.edu/cgi-bin/koha/tools/batchMod.pl End of script output before headers: background_jobs.pl, referer: https://koha-staff.northwestu.edu/cgi-bin/koha/tools/batchMod.pl A Bywater sandbox gives me the same error when I click into "View detail of the enqueued job" too quickly. In the sandbox I can refresh the page and the batch job will complete, but that doesn't happen on my instance. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org