The Needs Review Queue Bot β tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide β to find step-by-step guides for working with issues.
- π¬π§United Kingdom catch
π Deprecate UrlGenerator::supports() and UrlGenerator::getRouteDebugMessage() Fixed is RTBC except for a re-roll, might be worth waiting on that just to avoid any potential conflicts.
I think this patch is in good shape except we need to update the deprecation messages to drupal:10.1.0 for removal in drupal:11.0.0.
- Status changed to Needs review
almost 2 years ago 4:52pm 5 February 2023 - π«π·France andypost
re-roll for 10.1 and there's only context conflict with π Deprecate UrlGenerator::supports() and UrlGenerator::getRouteDebugMessage() Fixed so better to commit it
+++ b/core/modules/comment/src/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php @@ -178,7 +178,7 @@ public function viewElements(FieldItemListInterface $items, $langcode) { - $build['pager']['#route_name'] = $this->routeMatch->getRouteObject(); + $build['pager']['#route_name'] = $this->routeMatch->getRouteName(); +++ b/core/modules/config_translation/src/Form/ConfigTranslationFormBase.php @@ -219,7 +219,7 @@ public function submitForm(array &$form, FormStateInterface $form_state) { - $this->mapper->getOverviewRoute(), + $this->mapper->getOverviewRouteName(),
this 2 places anyway needs fix
- Status changed to Needs work
almost 2 years ago 5:59pm 6 February 2023 - π«π·France andypost
It needs follow-up to remove deprecated methods in D11 and new method
UrlGenerator::getRouteStringIdentifier()
added in related issue π Deprecate UrlGenerator::supports() and UrlGenerator::getRouteDebugMessage() Fixed - Status changed to Postponed
almost 2 years ago 7:08pm 6 February 2023 - π«π·France andypost
Filed follow-up π [11.x] Disallow passing route objects to UrlGenerator methods Postponed and waiting for π Deprecate UrlGenerator::supports() and UrlGenerator::getRouteDebugMessage() Fixed
- Status changed to Needs review
almost 2 years ago 12:50am 7 February 2023 - π«π·France andypost
blocker commited, here's re-roll and polishing of test and place to throw deprecation
- Status changed to Needs work
almost 2 years ago 1:22pm 7 February 2023 The Needs Review Queue Bot β tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide β to find step-by-step guides for working with issues.
- Status changed to Needs review
almost 2 years ago 1:26pm 7 February 2023 - π«π·France andypost
Somehow re-testing aborted, queued PHP 8.2 meantime but curious if there's some performance regression happened
- π«π·France andypost
tests are passed, I see no difference in time - the same 1h for run
- Status changed to RTBC
almost 2 years ago 7:29pm 12 February 2023 - πΊπΈUnited States smustgrave
Deprecation message is up to date,
Change record is simple and clear.
Has test coverage for deprecation.
Code looks good to me. -
longwave β
committed 39665920 on 10.1.x
Issue #3151019 by catch, andypost: Only allow route names, deprecate...
-
longwave β
committed 39665920 on 10.1.x
- Status changed to Fixed
almost 2 years ago 4:30pm 17 February 2023 Automatically closed - issue fixed for 2 weeks with no activity.