- 🇦🇺Australia acbramley
I just encountered this in https://git.drupalcode.org/project/drupal/-/merge_requests/4777/diffs
IMO we should copy what we do with the label equivalents and do linkByHrefExistsExact and linkByHrefNotExistsExact
I can't imagine changing the existing functions will be met well in contrib/custom project land.
- 🇦🇺Australia acbramley
Let's see what people think, will re-title the issue once there is buy in.
- Merge request !4779Issue #2031223: linkByHrefExists and linkByHrefNotExists use contains instead of it being an exact match → (Closed) created by acbramley
- Status changed to Needs review
over 1 year ago 5:58am 14 September 2023 - last update
over 1 year ago 30,150 pass - Status changed to Needs work
over 1 year ago 1:59pm 14 September 2023 - 🇺🇸United States smustgrave
Agree with @acbramley, if we change the existing functions will have to be very careful. But adding 2 new seems like a good idea.
Tagging for a simple change record to announce them.
- last update
over 1 year ago 30,153 pass, 2 fail - 🇦🇺Australia acbramley
Updated one test in core to use the new functions and updated title/IS
- Status changed to Needs review
over 1 year ago 10:41pm 14 September 2023 - 🇺🇸United States smustgrave
CR reads well. Short and sweet.
Seems to o have a test failure though
- last update
over 1 year ago 30,154 pass - Status changed to RTBC
over 1 year ago 1:05am 15 September 2023 - last update
over 1 year ago 30,161 pass - Status changed to Fixed
over 1 year ago 9:23pm 18 September 2023 -
larowlan →
committed d0015fde on 10.1.x
Issue #2031223 by Spokje, acbramley, Berdir, ravi.shankar, a_c_m: Add...
-
larowlan →
committed d0015fde on 10.1.x
-
larowlan →
committed 48b85189 on 11.x
Issue #2031223 by Spokje, acbramley, Berdir, ravi.shankar, a_c_m: Add...
-
larowlan →
committed 48b85189 on 11.x
-
larowlan →
committed 574e31cf on 10.1.x
Revert "Issue #2031223 by Spokje, acbramley, Berdir, ravi.shankar, a_c_m...
-
larowlan →
committed 574e31cf on 10.1.x
- Status changed to Needs work
over 1 year ago 10:47pm 18 September 2023 -
larowlan →
committed 3ae80982 on 11.x
Revert "Issue #2031223 by Spokje, acbramley, Berdir, ravi.shankar, a_c_m...
-
larowlan →
committed 3ae80982 on 11.x
- Assigned to acbramley
- 🇦🇺Australia acbramley
linkByHrefExists/linkByHrefNotExists don't have test coverage in there, so I'll add that while I'm at it.
- last update
over 1 year ago 30,152 pass, 2 fail 20:09 19:19 Running- 🇦🇺Australia acbramley
Since we're hardcoding URLs in markup in these test pages I didn't need to bother with base_path handling :)
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 2:27am 19 September 2023 - Status changed to RTBC
over 1 year ago 1:46pm 19 September 2023 - last update
over 1 year ago 30,176 pass - last update
over 1 year ago 30,213 pass - Status changed to Needs work
over 1 year ago 9:59pm 24 September 2023 - 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
spotted an issue with one of the tests, verified it locally by putting
$this->fail()
between the two asserts and it still passed - last update
over 1 year ago 30,217 pass - Status changed to Needs review
over 1 year ago 11:03pm 25 September 2023 - Status changed to RTBC
over 1 year ago 12:49am 26 September 2023 - last update
over 1 year ago 30,371 pass - Status changed to Needs work
over 1 year ago 6:35am 28 September 2023 - 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
Can we refactor what went in in 🐛 Generic Revision UI's Revision overview page generates wrong operations/view links for a translation Fixed to use the new methods
Thanks!
- 🇨🇦Canada Liam Morland Ontario, CA 🇨🇦
It seem to me that this should be committed and then the people working on that issue should update their tests to use it.
- 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
That was the plan but the other issue went in first inadvertently
- last update
over 1 year ago 30,369 pass - Status changed to Needs review
over 1 year ago 1:46am 2 October 2023 - Status changed to RTBC
over 1 year ago 4:57pm 2 October 2023 - 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
Committed to 11.x
Technically this is a tasks so we normally wouldn't backport, however it is test-only code and will make fixing bugs simpler.
So I've backported to 10.1.x for consistency.
-
larowlan →
committed 4616376f on 10.1.x
Issue #2031223 by acbramley, Spokje, Berdir, ravi.shankar, smustgrave,...
-
larowlan →
committed 4616376f on 10.1.x
- Status changed to Fixed
over 1 year ago 11:07pm 2 October 2023 -
larowlan →
committed 78a3d4a1 on 11.x
Issue #2031223 by acbramley, Spokje, Berdir, ravi.shankar, smustgrave,...
-
larowlan →
committed 78a3d4a1 on 11.x
Automatically closed - issue fixed for 2 weeks with no activity.