Closed (fixed)
Project:
Rules
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Dec 2009 at 21:19 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
fago+1 for "content is of type". Feel free to roll a patch ;)
Comment #2
mitchell commentedComment #3
aren cambre commentedNew features go in latest branch?
Comment #4
1sp commentedI feel it should be ""Content is of type(s)". Since we can check for multiple content types in the condition
Comment #5
aren cambre commentedComment #6
traviscarden commentedIt looks like the string was already changed somewhere along the line. The corresponding help text, however, wasn't. Here's a patch. As it's basically a typo fix I'm just going to mark it RBTC, and then if the maintainer commits it we can change it to "patch (to be ported)" and get it back to D6 as well.
Comment #7
klausiShopuldn't it be "Evaluates to TRUE, if the given content is one of the selected content types." ?
Powered by Dreditor.
Comment #8
fagoYep, and there is another mistake in 7.x. The support for putting help text directly in the info hook is gone, we need to create a small method in the .rules.inc file for that.
@name-change: I've taken over this name of the condition for 7.x
Comment #9
aren cambre commentedThere should not be a comma in the middle of "Evaluates to TRUE, if the given content is of one of the selected content types."
Comment #10
traviscarden commented@klausi: The other "of" actually belongs in there. If the option is "content is of type" then the help should read "...content is of one of the selected content types". We're just replacing the word "type" with "one of the selected content types". So if you eliminate the extraneous comma (@Aren Cambre), you have "Evaluates to TRUE if the given content is of one of the selected content types."
Comment #11
aren cambre commentedSimpler, no CAPS, and maybe just as correct from admin perspective: "Will be true if the given content is one of the selected content types."
Comment #12
klausi#6: rules-649438.patch queued for re-testing.
Comment #14
Island Usurper commentedOh, good. It really isn't just me.
Testbot is apparently confused about what Rules' dependencies are when it runs the tests. I heard from boombatower that an update to the testbot should show up sometime next week. Until someone knows otherwise, I don't think we can test Rules patches until that happens.
Comment #15
fago#6: rules-649438.patch queued for re-testing.
Comment #16
fagohttp://qa.drupal.org/pifr/test/27274 -> at Wed, 06/09/2010 - 10:31:02 the general branch test worked.
Comment #18
klausi#6: rules-649438.patch queued for re-testing.
Comment #19
traviscarden commentedGreat! Now here's #6 with the extraneous comma removed, per numbers 9 and 10.
Comment #20
fagothat's already done.
Comment #21
fagoah, sry I missed the follow-up #19. Thanks, committed that.