When sending out the registration mails, profiles aren't linked to the user yet

Created on 10 September 2020, over 4 years ago
Updated 20 December 2023, about 1 year ago

Problem/Motivation

When sending out the registration emails, the profile isn't linked to the user yet, so in \profile_tokens when fetching the profile around line 50, there is no profile to be loaded.

Steps to reproduce

Create a profile type, add in on the registration form. Use a token from that profile type in one of the registration mails that are triggered.

Proposed resolution

Have a fallback to fetch the profile because storage hasn't gone through yet at that point.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇧🇪Belgium daften

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024