Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have not found a suitable category for 'possibly' bugs in the batch system.
Line 450 of the batch.inc file is:
$function($_batch['source_url'], array('query' => array('op' => 'finish', 'id' => $_batch['id'])));
This is something that should happen when the origin form contains a redirection. The problem is that I have not found the origin of this variable, but I've found "source_page", used in this batch.inc file, and created in form.inc, in the function batch_process().
Is source_url an error and should be source_page? of course I'm getting a nasty red error message.
Comment | File | Size | Author |
---|---|---|---|
#3 | 617420-batchapi-source_url.patch | 921 bytes | ksenzee |
Comments
Comment #1
ksenzeeLooks like a bug to me, introduced in #555762: Changes to batch API:
Comment #2
yched CreditAttribution: yched commentedIndeed, source_page / source_url mixup. Let's go with source_url for consistency with other batch properties. Care to roll a patch ?
Comment #3
ksenzeeilo, does this work for you?
Comment #4
ilo CreditAttribution: ilo commentedIt does work for me, I've tested also manually and no errors. Thanks!
Comment #5
yched CreditAttribution: yched commentedThanks for the patch and detective work, ksenzee !
Comment #6
hass CreditAttribution: hass commented+
Comment #7
webchickCommitted to HEAD. Thanks!