SET UP:
created a rule triggered by the event "user has logged in" with the action "add a shout"

EXPECTED BEHAVIOR:
shout should appear as coming from the logged-in user

ACTUAL BEHAVIOR:
shout is attributed to "anonymous"

Comments

benjaminbradley’s picture

Title: shoutbox rules does not provide correct user id for user with "user has logged in" event » shoutbox rules does not provide default value for username parameter as described
Priority: Normal » Minor

UPDATE:
on further investigation, it looks like the bug is the statement "If you leave this blank, the current user will be assumed." which appears as help text for the Username: parameter when adding a Shoutbox Action to a triggered rule.
If you enter the substitution pattern (e.g. [account:user] for the login event mentioned previously), then the value is substituted correctly.

A simple solution would be to change the help text so that people know if they leave it blank, the shout will be attributed to anonymous.

vitalblue’s picture

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