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.
Hi, I can't reproduce on master. Can you ? Maybe on a sandbox : https://wiki.koha-community.org/wiki/Sandboxes
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.