Download & Extend

Allow tokens for recipient field in Rules action "Add a status"

Project:Facebook-style Statuses (Microblog)
Version:6.x-3.0
Component:Code - Functionality
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi,

I was using the solution outlined in this thread (http://drupal.org/node/1159664) to post events as statuses and it worked perfectly. I've upgraded to 3.0 and the recipient type shows 'user profiles' which causes an issue when i save a rule as the recipient id i.e. [requester:uid] causes the error below when I try to save the rule. I believe the recipient id i was using before was just 'user' http://drupal.org/node/1159664#comment-4496508

Error: 'The Recipient ID must be a nonnegative integer.'

Is there a way to get around this? As 'user' isn't an option on the current recipient id dropdown.

Any help is appreciated.

Thanks,

Evelyn

Comments

#1

Title:Status as Activity Log- Rules» Allow tokens for recipient field in Rules action "Add a status"
Category:support request» bug report
Priority:normal» minor
Status:active» fixed

This was originally broken in this commit which prevented using tokens for the recipient field in the "Add a status" Rules action. I have removed that validation and committed the change to dev (6.x, 7.x).

#2

that worked perfectly, thank you!

#3

Priority:minor» major

Sorry still not working with rules in 7.x ..

#4

Priority:major» minor

This is not the 7.x queue. Rules integration is totally broken in the D7 branch anyway.

#5

Status:fixed» closed (fixed)

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

#6

the dev version (drupal 6) works nicely. I simply changed in modules one per another and it worked.

Just FYI.

Thanks a lot.