Avoid logging the same entity operations twice

Created on 8 November 2022, over 1 year ago
Updated 13 March 2024, 4 months ago

Problem/Motivation

There is a possibility that certain entities will have their update operations tracked e.g. "Block" config entities.

We should have checks in place to make sure we only log the operation once.

The config schema for the module also needs some normalizing.

Steps to reproduce

Enable support for the "Block" config entity in /admin/config/events_logging.

Go into "Block layout" in Drupal and resave any of the existing blocks.

You should now see two update operations for the same block.

Proposed resolution

Prevent updates to the entity. And ensure that config schema definitions are cleaner and more manageable (keeping only enabled values).

Remaining tasks

Provide issue fork/patch.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

📌 Task
Status

Needs review

Version

1.5

Component

Code

Created by

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