Problem/Motivation

When e-mailing the event enrollees, the token [social_user:recipient] is never transformed into the actual recipient name.

Steps to reproduce

1. Create an event and add a user
2. Use 'Email selected enrollees' action
3. In the message use the [social_user:recipient] token
4. Check the e-mail message.

Proposed resolution

Inside social_use_token(), there is a condition that the message data needs to be an instance of Message entity, but if you look and the actual job, we pass in a message string and not the entire entitity.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

nkoporec created an issue. See original summary.

robertragas’s picture

Version: 11.2.x-dev » 11.1.x-dev
Status: Active » Fixed

Review, merged and will land in 11.1.15 and higher

robertragas’s picture

  • 18ceff4 committed on 11.1.x
    Merge pull request #2860 from goalgorilla/issue-3273700-the-social-user-...

  • 08161da committed on 11.2.x
    Merge pull request #2860 from goalgorilla/issue-3273700-the-social-user-...

  • 4b96c8b committed on 11.3.x
    Merge pull request #2860 from goalgorilla/issue-3273700-the-social-user-...

  • 3f9978b committed on 11.4.x
    Merge pull request #2860 from goalgorilla/issue-3273700-the-social-user-...

Status: Fixed » Closed (fixed)

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