Not sure this is bug a but I thought I'd ask... In update_authorize_batch_copy_project():
$context['#finished'] = 1;
and a few lines later
$context['finished'] = 1;
If this is not a bug, it's at least a rather obscure use of variable names.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 955146_4_context_finished.patch | 481 bytes | scor |
Comments
Comment #1
yched commentedThat's a bug - should be $context['finished'] = 1;
Care to roll a patch ?
Comment #2
scor commentedRolling a patch is not a problem. I guess all these have to be fixed too:
Comment #3
yched commentednope, $context['#finished'] is wrong, but $sandbox['#finished'] is OK - that's a construct added by update.php for update functions.
Comment #4
scor commentedok.
Comment #5
yched commentedThks !
Comment #6
scor commentedbetter title now that this has been confirmed as a bug.
Comment #7
dries commentedCommitted. Thanks!