Batch operation fails silently if an operation callback is not found

Created on 23 June 2014, almost 11 years ago
Updated 18 February 2023, about 2 years ago

If the callback specified for a batch operation isn't found, the batch process continues and does not show an error message.

This can easily happen when developing, especially if using the 'file' property of the batch array.

Expected behaviour: if the batch callback doesn't exist, the batch should crash, as it will not be able to work as expected.

πŸ› Bug report
Status

Needs work

Version

10.1 ✨

Component
BatchΒ  β†’

Last updated 23 days ago

Created by

πŸ‡¬πŸ‡§United Kingdom joachim

Live updates comments and jobs are added and updated live.
  • Needs backport to D7

    After being applied to the 8.x branch, it should be considered for backport to the 7.x branch. Note: This tag should generally remain even after the backport has been written, approved, and committed.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024