Activity replaces tokens before saving the message to the database table. For many reasons (e.g. path alias changes) links provided by the token can change and the one saved in our message turns dead. This is critical for seo. We should try to save a variable in the message field and some corresponding data in a new field and replace and replace it in the view. I'm not very familiar with tokens yet so I don't know if we can achieve that with tokens. If not every activity type could provide its own replacement functions and variables based on what makes sense for this type of activity.

I'm trying to look into that tomorrow.

What do you think?

Comments

Scott Reynolds’s picture

Priority: Critical » Minor
Status: Active » Closed (duplicate)