- Issue created by @hudri
The opening form uses Drupal's batch_set() to update the opening instances.
https://git.drupalcode.org/project/bookable_calendar/-/blob/2.2.x/src/Fo...
But batch_set() is executing the batch process through a client browser request, and does not work when the submitting form also has a ?destination GET parameter. Editing any opening from the admin list has the destination parameter set though:
/admin/content/bookable-calendar/booking-calendar-opening/add
<-- works, triggers batch
/admin/content/bookable-calendar/booking-calendar-opening/MY_ID/edit
<-- works, triggers batch
/admin/content/bookable-calendar/booking-calendar-opening/MY_ID/edit?destination=/admin/content/bookable-calendar/bookable-calendar-opening
<-- does never invoke bookable_calendar_process_opening_instances
, reproducable error. This is the default URL though from the admin UI.
Active
2.2
Code