Release blocker: Confirm that urlInfo() -> toUrl() works correctly

Created on 8 November 2023, over 1 year ago
Updated 10 November 2023, over 1 year ago

Drupal version

10.x

Drupal Rector version

main

Problem / Motivation

Possible bug in "urlInfo" -> "toUrl".

-      $form_state->setRedirectUrl($untranslated_entity->urlInfo('canonical'));
+      $form_state->setRedirectUrl($untranslated_entity->toUrl('canonical'));
📌 Task
Status

Fixed

Component

Code

Created by

🇺🇸United States agentrickard Georgia (US)

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024