Closed (fixed)
Project:
Drupal core
Version:
8.3.x-dev
Component:
link.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Sep 2016 at 09:20 UTC
Updated:
1 Oct 2017 at 10:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
berdirComment #3
dawehnerThis looks like a fine workaround until we have the other issue solved.
Comment #5
amateescu commentedSince displaying the autocomplete label for non-node entity types is a bug, we just have to update the test and use a node for that assertion :)
Comment #7
wolffereast commentedBeginning Triage
Comment #8
wolffereast commentedConfirmed that the bug is still present.
The patch no longer applies. Specifically the file in which the test that was modified lived has been moved and refactored, so that needs to be reworked. The line number in LinkWidget has changed.
The fix still works when applied by hand
Comment #9
arunkumarkI have re-rolled patch for the Drupal 8.4.x version.
Comment #11
gaurav.kapoor commentedComment #13
jofitz@gaurav.kapoor please can you remember to include an interdiff where possible.
Comment #14
gaurav.kapoor commented@Jo , i just re rolled #5. I don't think an interdiff was needed. Sorry for the confusion.
Comment #15
jofitzRemove line saving non-existent variable.
Replace deprecated variable.
(remove Needs Reroll tag)
Comment #16
jofitzMy previous patch went wrong somehow, let's try again.
Comment #18
mac_weber commentedHere we are replacing a test with a custom entity with restricted access to a node with restricted access?
I think we need both tests. In addition, test an entity with unrestricted access, too.
Comment #19
cilefen commentedI am adding credit to wolffereast for the triage work done. Just FYI, we like to see documented triage steps (even if brief). Here are some made-up examples of documented triage steps:
Thank you!
Comment #20
berdirRe #18. See comment #5, the old test was a wrong behavior, so we do not need that to be tested.
We do however still need actual test coverage for the bug being fixed here.
Comment #21
cilefen commentedThank you, everyone, for working on this.
@xjm, @alexpott, @effulgentsia, @lauriii, @catch and I discussed this issue at a recent meeting and decided this is critical because it affects data integrity when people edit links.
(edited)
Comment #22
berdirFinally got around to write a test for this.
Comment #24
dawehnerI believe this is a thoughtfull test including good description comments.
Note: This doesn't block a commit but you should be able to use
loadUnchangedhere instead, but seriously, these details matter less on tests, IMHO.Comment #25
alexpottCommitted a12adc7 and pushed to 8.4.x. Thanks!
This needs a re-roll on 8.3.x.
Comment #27
jofitzRe-rolled the patch from #22 for 8.3.x.
Comment #28
jibranRe-roll looks fine to me. Let's see testbot's report.
Comment #29
jibranGreen!
Comment #30
alexpottCommitted e5ee7c9 and pushed to 8.3.x. Thanks!
Thanks for the quick reroll.
Comment #33
rajeevku commentedShouldn't we remove @todo now as patch has been submitted in https://www.drupal.org/node/2423093.