I've tried this both with votes directly on an entity (tried with node and user) and with votes on a separate target entity (again nodes and user).

If I try to use the data selector to access the value on a fivestar field, it gets as far as vote:user:field-rating: or similar but doesn't offer any further options after that last colon.
If I try to set the value, however, ('set a data value' action) it will show vote:user:field-rating:average-rating (or user-rating).

I also get a bunch of notices when trying to congifure these rules, not sure if they're relevant:
Notice: Undefined index: label in rules_rules_core_data_info_alter() (line 137 of .../sites/all/modules/rules/modules/rules_core.rules.inc).
Notice: Undefined index: label in RulesPluginUI::getOptions() (line 861 of .../sites/all/modules/rules/ui/ui.core.inc).

Additionally, I see this notice when installing the module.
Notice: Undefined index: label in rules_rules_core_data_info_alter() (line 137 of .../sites/all/modules/rules/modules/rules_core.rules.inc).

And finally, I see this on the status report:

The following tokens or token types are missing required name and description information:

$info['tokens']['vote_results']['count-vote-cache-id']
$info['tokens']['vote_results']['count-function']
$info['tokens']['vote_results']['average-vote-cache-id']
$info['tokens']['vote_results']['average-function']
$info['tokens']['vote_results']['sum-vote-cache-id']
$info['tokens']['vote_results']['sum-function']

This last bit in particular seems like it might be relevant.

Comments

ntigh52’s picture