Comments

jacquelynfisher’s picture

StatusFileSize
new6.25 KB

I am wondering if this is the reason that some old notices under Recent Site Activity are not displaying the usernames properly. (See screenshot). New notices by said user are displaying properly, and the only thing that came to mind was that the username was changed.

So if user tokens are replaced when the message is sent and not when the page is rendered, this might be why the username in the old notices (before the username change) are not displaying.

jpontani’s picture

Assigned: Unassigned » jpontani
jpontani’s picture

Committed to Wikis, and patches attached.

Using the @{message:user:name} token stores the username on the message at creation time, whereas using [message:user:name] token replaces it at render time.

http://drupalcode.org/project/commons_wikis.git/commitdiff/aea9f37

jpontani’s picture

Disregard the Commons Activity Streams patch from above, it got messed up and included some incorrect stuff. Attached is the correct patch.

ezra-g’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me.

Status: Fixed » Closed (fixed)

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