diff --git a/core/includes/form.inc b/core/includes/form.inc index 5698f86..7c75003 100644 --- a/core/includes/form.inc +++ b/core/includes/form.inc @@ -828,7 +828,7 @@ function batch_process($redirect = NULL, Url $url = NULL, $redirect_callback = N $query_options['id'] = $batch['id']; $batch_url->setOption('query', $query_options); if (($function = $batch['redirect_callback']) && function_exists($function)) { - $function($batch_url, ['query' => $query_options]); + $function($batch_url->toString(), ['query' => $query_options]); } else { $batch_url->setAbsolute(); diff --git a/core/modules/update/tests/modules/update_test/update_test.routing.yml b/core/modules/update/tests/modules/update_test/update_test.routing.yml index 708d42f..5dd8d4c 100644 --- a/core/modules/update/tests/modules/update_test/update_test.routing.yml +++ b/core/modules/update/tests/modules/update_test/update_test.routing.yml @@ -11,5 +11,6 @@ update_test.update_test: _title: 'Update test' _controller: '\Drupal\update_test\Controller\UpdateTestController::updateTest' version: NULL + project_name: NULL requirements: _access: 'TRUE'