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

Created on 27 July 2022, almost 2 years ago
Updated 27 September 2023, 9 months 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.69.0 2024