LinkGenerator.php "System path is deprecated - use the route name and parameters"

Created on 26 April 2024, 8 months ago
Updated 9 July 2024, 5 months ago

Problem/Motivation

Found while working on ๐Ÿ“Œ Remove deprecated code in utilities Fixed in core/lib/Drupal/Core/Utility/LinkGenerator.php there was comment

// @todo System path is deprecated - use the route name and parameters.

Believe it's been lost to time so opening an issue to eventually track

Steps to reproduce

N/A

Proposed resolution

Determine what needs to be done

Remaining tasks

Come up with resolution
Implement
Review

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

๐Ÿ“Œ Task
Status

Needs work

Version

11.0 ๐Ÿ”ฅ

Component
Baseย  โ†’

Last updated about 2 hours ago

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States smustgrave

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

Merge Requests

Comments & Activities

  • Issue created by @smustgrave
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia pradhumanjainOSL

    @smustgrave This issue is closed in this thread. Would you please review.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia pradhumanjainOSL

    I think we can remove this @todo from these file too
    core/includes/theme.inc.

  • First commit to issue fork.
  • Pipeline finished with Failed
    8 months ago
    Total: 176s
    #166027
  • Status changed to Needs review 8 months ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia kalash-j jaipur

    Removed the todo task from the both files. As the function is not deprecated.

  • Pipeline finished with Failed
    8 months ago
    Total: 165s
    #166028
  • Status changed to Active 8 months ago
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States smustgrave

    If the other ticket was read would see removing the todos isnโ€™t the solution but to do what the todos said.

  • Pipeline finished with Failed
    7 months ago
    Total: 223s
    #173845
  • Status changed to Needs review 7 months ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia kalash-j jaipur

    Sorry @smustgrave i have miss read the other ticket , i have done those changes as asked it TODO. and Added the TODO comment back to the theme file as changes of that file is already done the that ticket

  • Pipeline finished with Failed
    7 months ago
    #173846
  • Status changed to Needs work 7 months ago
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States smustgrave

    MR appears to have failures.

    How come we are leaving " see https://www.drupal.org/project/drupal/issues/3443759 ๐Ÿ“Œ LinkGenerator.php "System path is deprecated - use the route name and parameters" Needs review ." ? shouldn't that be removed.

  • Pipeline finished with Canceled
    6 months ago
    Total: 71s
    #203748
  • Pipeline finished with Failed
    6 months ago
    Total: 334s
    #203750
  • Pipeline finished with Failed
    6 months ago
    Total: 371s
    #206642
  • Status changed to Needs review 5 months ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia kalash-j jaipur

    @smustgrave
    did the changes and solved PHPCS errors

  • Pipeline finished with Failed
    5 months ago
    Total: 431s
    #219532
  • Status changed to Needs work 5 months ago
  • The Needs Review Queue Bot โ†’ tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".

    This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.

    Consult the Drupal Contributor Guide โ†’ to find step-by-step guides for working with issues.

  • Pipeline finished with Failed
    5 months ago
    Total: 2372s
    #220793
  • Pipeline finished with Failed
    5 months ago
    Total: 519s
    #220869
  • Pipeline finished with Failed
    4 months ago
    Total: 637s
    #262321
Production build 0.71.5 2024