Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
other
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Jun 2020 at 08:05 UTC
Updated:
12 Sep 2024 at 03:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alexpottComment #3
dwwFleshed out remaining tasks + proposed resolution.
Comment #4
neclimdulI'll start the BC discussion and give a quick patch with some of the changes to help with the discussion.
This might be the most tricky of these issues I've seen in terms of BC. Clearly the whitelist service is setup to be overridden with an interface. This means changing AliasManager service definition and the path prefix service name to not include whitelist would break modules or sites overriding that service. Basically the same problem shows up in the constructor since older services will be implementing the older interface and changing it would trigger a fatal. This seems pretty unlikely in contrib but it _could_ be something sites are doing for a very specific optimization since this is in a critical path. Prepopulating the cache or something.
For the AliasManager property, we shouldn't have to worry about BC. This is not marked as an @api or clearly designated as a base class.
"Protected properties on a class are always considered @internal unless they're on a base class marked with @api"
The cid _could_ be an issue but that doesn't seem like it would be covered by BC. At least not between minor releases. Up for discussion I guess.
Comment #6
webchickIndicating that there's a patch here. (Though it no longer applies to 9.2.x.)
Comment #7
webchickAttempted reroll.
Comment #8
quietone commentedA reroll. Not testing because of issue discusses in #4.
Comment #9
mradcliffe@volkswagenchick and I performed Novice Triage on this issue.
We added the Novice tag to help update the issue summary, which is a little out-of-date.
Additionally, we should discuss and do research on the additional backwards-compatibility needs. Starting a thread in #d10readiness might be a good start.
Comment #10
gábor hojtsyFixing tag. Drupal 10 is our core tag.
Comment #11
kapilv commentedComment #16
needs-review-queue-bot commentedThe 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.
Comment #17
kunalgautam commentedPatch for Drupal version 10.1.x
Comment #18
kunalgautam commentedComment #19
kunalgautam commentedFix PHPSTAN issues
Comment #20
kunalgautam commentedcspell fixes
Comment #21
kunalgautam commentedComment #22
tanuj. commentedVerified patch #20 and tested it with Drupal version 10.1.x, Patch applied successfully.
Comment #23
nod_Legitimate tests failures left
Comment #26
quietone commentedComment #27
quietone commentedTime to get some feedback on these changes.
Comment #28
smustgrave commentedLeft small comments on MR.
Comment #29
quietone commentedAnd updated the change record
Comment #30
smustgrave commentedFeedback appears to be addressed.
Comment #33
catchCommitted/pushed to 11.x, thanks!