If config rollback fails validation, it's impossible to tell what caused the rollback in the first place

Created on 11 March 2024, 8 months ago
Updated 14 May 2024, 6 months ago

Problem/Motivation

When attempting to install a module with config for a text format I get the following error;

In ConfigImporter.php line 814:
                                                                                                                                                                                                   
  There were errors validating the config synchronization.                                                                                                                                         
  Unable to uninstall the <em class="placeholder">Linkit</em> module because: Provides a filter plugin that is in use in the following filter formats: <em class="placeholder">WYSIWYG</em>.       
  Unable to uninstall the <em class="placeholder">Media</em> module because: Provides a filter plugin that is in use in the following filter formats: <em class="placeholder">WYSIWYG</em>.        
  Unable to uninstall the <em class="placeholder">Text Editor</em> module because: Provides a filter plugin that is in use in the following filter formats: <em class="placeholder">WYSIWYG</em>.

I've tried various ways to get the recipe to import the text format, including adding config/module install of Editor, CKEditor5, LinkIt, Media and Text Editor; but various combinations all seem to fail

Steps to reproduce

  1. Create a recipe containing a contrib module that installs a WYSIWYG text format (currently defined in composer.json)
  2. Set the recipe to install the various modules/config
  3. Run the recipe installer
🐛 Bug report
Status

Fixed

Version

11.0

Component

Code

Created by

🇬🇧United Kingdom millnut

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