Content moderation service should be an optional dependency

Created on 22 May 2023, almost 2 years ago
Updated 23 May 2023, almost 2 years ago

Problem/Motivation

Version 3.1.4 introduced a dependency issue for projects that currently have paragraph_blocks enabled, but are not actively using content_moderation.

Steps to reproduce

Update paragraph_blocks to v3.1.4, initiate a drush command or navigate the site backend, you'll be introduced with the below error.
The service "paragraph_blocks.entity_manager" has a dependency on a non-existent service "content_moderation.moderation_information".

Proposed resolution

Make content_moderation.moderation_information an optional dependency.

πŸ› Bug report
Status

Fixed

Version

3.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jv24

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024