How to prevent the simpler “update” event from creation?

Created on 21 November 2022, almost 2 years ago
Updated 9 May 2023, over 1 year ago

Problem/Motivation

I'm using this module together with the “parent” DANSE project and have my content type configured like this:

<!--break-->

However soon realized that danse_event records are generated twice per each save of the node. The first (with a lower entity ID) is the one about the moderation status change but right after it, the second one is still about the node update.

I wouldn't care about them too much but the problem is that the danse_notification records reference the simple “update” event (which is less specific and therefore misses the valuable information about the exact moderation state involved) instead of the status change event.

My question is that are there any options either from configurational side via the UI or directly from code to prevent these “update” events from creation ONLY when a moderation state event is already created? I want to keep them being created when no moderation-related modification happens on the node (eg. author or title field changes).

💬 Support request
Status

Active

Version

2.0

Component

Documentation

Created by

🇭🇺Hungary Balu Ertl Budapest 🇪🇺

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