Do not send notifications when an entity is syncing (e.g. during a migration)

Created on 27 July 2022, over 2 years ago
Updated 27 September 2023, about 1 year ago

Problem/Motivation

If you have a migration that is creating revisions of an entity and changing the moderation state, this module will attempt to send notification emails during the migration. Generally, this isn't the behavior you'd expect, and revisions created during a migration wouldn't trigger emails being sent.

Steps to reproduce

Proposed resolution

Add a check on $entity->isSyncing() before trying to send any notifications.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dww

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