Closed (outdated)
Project:
Shoutbox
Version:
6.x-2.7
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2012 at 04:18 UTC
Updated:
18 Mar 2016 at 11:03 UTC
Jump to comment: Most recent
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
Comment #1
benjaminbradley commentedUPDATE:
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.
Comment #2
vitalblue commented