When editing condition for "Check the value of the vote on a comment" I don't see the input field where I'm supposed to enter the vote value.
It works fine with "Check the value of the vote on a node" condition.

Comments

vamirbekyan’s picture

hi,
I am having the same issue. Anyone has a patch for this?

heydemo’s picture

StatusFileSize
new615 bytes

Attached patch to fix this issue - also pushed to 6.x-1.x branch

heydemo’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

bangkpow’s picture

Status: Closed (fixed) » Active
StatusFileSize
new48.76 KB

This still doesn't work. When adding a condition "Check the value of the vote on a comment", you will get an error message "Value must be numeric".
There is no field rendered where you're supposed to add the needed value.

thermador’s picture

I can confirm that this is still a problem with the latest 6.x-1.0-dev

...and the patch above fixed it (i just made the typo correction by hand, you don't need to apply a patch).

Just change line 92:

function voting_rules_condition_check_vote_value_comments_form($settings, &$form) {

to

function voting_rules_condition_check_vote_value_comment_form($settings, &$form) {

bluegeek9’s picture

Issue summary: View changes
Status: Active » Closed (outdated)