paragraphs_library_update_8103 does not check if paragraphs_library is in the enforced modules before being added

Created on 29 August 2024, 3 months ago

Problem/Motivation

If paragraphs_library_update_8103 is run multiple times, the config key `dependencies.enforced.modules` contains multiple copies of `- paragraphs_library` under the enforced modules. These update functions normally don't run multiple times on a single site, but I have a multisite case where it did.

Steps to reproduce

  1. Run update on a site that needed the update.
  2. Import configuration on another site that needs to run the update.
  3. Run the update again

Proposed resolution

Add a check before adding module list to dependencies.
Perhaps add another update function to remove duplicate entries on sites?

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dasginganinja Bethlehem, PA

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024