Removing filter and providing module breaks deployment

Created on 28 June 2020, over 4 years ago
Updated 16 February 2023, about 2 years ago

Problem/Motivation

How to reproduce:
* Add a filter-providing module and add its filter to a text format
* Deploy
* Remove the filter from text format, uninstall the module
* Deploy

Expected:
* Deployment restores the status quo ante

Actual: (manually backtranslated so not exact strings)

$ drush cim
[notice] Syncing extensions: uninstall (filter-providing module)
The following reasons prevent the modules from being uninstalled: Provides a filter plugin which is used in these text formats: (text-format)

Setting high prio as this breaks automated deployment.
Workaround: Manually change remove the filter plugin from that text format.

Proposed resolution

I suppose it's about having the module uninstall depend on the filter format change.
I wonder if that's even possible currently.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

10.1

Component
Filter 

Last updated about 2 hours ago

No maintainer
Created by

🇩🇪Germany geek-merlin Freiburg, Germany

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