System send mail when user is unblocked during update

Created on 25 November 2018, over 6 years ago
Updated 26 September 2024, 8 months ago

Problem:

System send an e-mail when user entity is updated from blocked state to the active state since 8.x-1.0-alpha6, where full export/import of user entities was enabled. DCD did not export status property for user entity before 8.x-1.0-alpha6.

Step to reproduce:

- import user entity, where status = false (blocked user)
- import the same entity where status = true (user is active)

Drupal will send mail or show error "[error] Message: Unable to send email. Contact the site administrator if the problem persists.", if mail is not configured.

Expectation:

User entity is updated and no e-mail is sent.

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇨🇿Czech Republic martin_klima

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