Closed (fixed)
Project:
Drupal core
Version:
9.1.x-dev
Component:
render system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Dec 2020 at 17:33 UTC
Updated:
23 Apr 2021 at 12:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dom. commentedPushing a simple patch. No tests updates here to have a first pick at how many tests get eventually broken and needs fixing.
Comment #3
dom. commentedComment #4
kristen polThanks for the issue and the patch.
1) Patch still applies cleanly to 9.2.
2) Although the code added is logical, stylistically, I would do the following instead:
3) Even if the logic stays as is, we need test coverage in
LinkGeneratorTest.Comment #5
ankithashettyUpdated patch in #3 addresing #4.2 . Retaining status "Needs work" for tests(#4.3). Thanks!
Comment #6
mohit_aghera commentedAdding test cases for basic validation.
Comment #7
larowlanLooking good, can we get a test-only patch here (that should fail)
Comment #8
mohit_aghera commentedAdding test-only patch.
Reuploaded the previous patches again.
Here is the local run for test-only patch:
Comment #10
mohit_aghera commentedChanging to needs review as failures is from the test-only patch.
Comment #11
acbramley commentedLooking great, fails as expected 🎉
Comment #14
catchCommitted 1b0a441 and pushed to 9.2.x. Thanks! Also cherry-picked to 9.1.x.