Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Like the title says...
Comment | File | Size | Author |
---|---|---|---|
#12 | Triggers-Typo-Corrected-2165143-12.patch | 625 bytes | nathanc |
#12 | node.test_after.png | 21.17 KB | nathanc |
#12 | node.test_before.png | 29.43 KB | nathanc |
#8 | tigger-typo-2165143-8.patch | 625 bytes | SidneyGijzen |
#1 | tests-typo-2165143-1.patch | 1.62 KB | David_Rothstein |
Comments
Comment #1
David_Rothstein CreditAttribution: David_Rothstein commentedClearly RTBC unless the tests fail for some reason.
I noticed this while committing a backport of half of this to Drupal 7 recently, so the bug exists there too.
Comment #2
xjmConfirmed that there are no other tiggers in core (unfortunately for Winnie the Pooh fans). So yes, this is RTBC even though David RTBCed his own patch. ;)
Comment #3
jhodgdonOooh, I want tigger in core! I am reluctant to commit this, but I will next time I'm doing commits. :)
Comment #4
jhodgdonTigger has been removed from 8.x. Alas! (committed patch).
In 7.x, I'm seeing one Tigger:
modules/node/node.test: // node_test_node_insert() tiggers a save on insert if the title equals
Comment #5
mgiffordWhere is the "Like" button? A few Tiggers are way cooler than even a single Eeyore.
Comment #6
dcam CreditAttribution: dcam commentedComment #7
mgiffordThink there's just this one, so super easy:
modules/node/node.test: // node_test_node_insert() tiggers a save on insert if the title equals
Comment #8
SidneyGijzen CreditAttribution: SidneyGijzen commentedFixed typo in node.test. See attached patch.
I hope I did everything right, since this is my first patch. All credits to mgifford's blogpost for drawing my attention to Drupal 7 issues and Drupal Ladder for teaching me how :)
Comment #9
SidneyGijzen CreditAttribution: SidneyGijzen commentedComment #10
jhodgdonLooks good, and I agree this is the only "tigger" spot in D7. Thanks!
Comment #11
SidneyGijzen CreditAttribution: SidneyGijzen commentedYou're welcome. Thanks for the fast feedback.
Comment #12
nathanc CreditAttribution: nathanc commentedDavid, i see the issue already has a patch but i just saw a typo fix to be a good way to learn "how to patch drupal" and start giving back...
All kudos to drupalladder.org and @bdone
Comment #13
jhodgdonnathanc: If an issue already has a patch and has been set to "RTBC", please kindly find a different issue rather than duplicating the same patch. Thanks!
Comment #14
jhodgdonThanks again! Committed patch in #8 to 7.x.
Comment #17
YesCT CreditAttribution: YesCT commentedI'm cleaning out tags that are little used. This one is only used here. Note the tag guidelines: Before adding tags read the issue tag guidelines. Do NOT use tags for adding random keywords or duplicating any other fields. Separate terms with a comma, not a space.