Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 May 2014 at 09:59 UTC
Updated:
29 Jul 2014 at 23:37 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
juampynr commentedHere is the patch. I stumbled upon this because I actually tried to use this argument in order to test that a link with the given index did not exist.
Comment #2
dawehnerGood catch.
Comment #3
jhodgdonNot exactly a conflict... but a "no commit conflicts" issue #2016629: Refactor bootstrap to better utilize the kernel touches this same file, so I'm going to wait on committing this.
Comment #4
xjmReroll for #2247991: [May 27] Move all module code from …/lib/Drupal/… to …/src/… for PSR-4.
Comment #5
alexpottThe rerolled patch in #4 changed the doc block for
assertLink($label, $index = 0, $message = '', $group = 'Other')which has the $index param.The wrong doc block is for
assertNoLink- patch attached.Comment #6
alexpottHmmm.... actually the patch in #4 was correct but because
assertLinkandassertNoLinkhave exactly the same docblocks and there had been changes to WebTestBase in the interim git applies the patch to the wrong piece of code. Interesting.Comment #8
alexpott5: 2267159.5.patch queued for re-testing.
Comment #10
juampynr commented5: 2267159.5.patch queued for re-testing.
Comment #11
juampynr commentedRe-testing again. Patch at #5 applies cleanly.
Comment #14
jhodgdonThe patch was once again problematic (removing the parameter in the wrong documentation header).
So I decided this was easier and less error prone to do manually. I just edited the file, took out the two lines in the correct docs (for assertNoLink), and committed it. Hope that's OK.
I also "ported" this "patch" to 7.x (did the same manual fix there).
Comment #15
juampynr commentedLooks Great. Thanks @jhodgdon!