FilterUninstallValidator blocks config syncing when uninstalling a module even if the incoming config is valid

Created on 19 May 2022, about 2 years ago
Updated 16 February 2023, over 1 year ago

Problem/Motivation

FilterUninstallValidator blocks config syncing when uninstalling a module that is currently required in a filter, even if it's no longer required by the config being sync'ed into the system.

Steps to reproduce

Add a plugin to a filter that is supplied by a module (ie. markdown)
Export the config
Import this config in a different install
Remove the plugin from the filter and uninstall the module that provides it
Export this config
Import this config in the other install

Expected result:
This works, since the config being imported it valid

Actual result:
This fails because FilterUninstallValidator blocks the uninstall of the module since it is required by the filter in the live config

Proposed resolution

Don't validate in FilterUninstallValidator when syncing config, assume the incoming config is valid

Remaining tasks

Agree on a path.

User interface changes

None

API changes

Maybe

Data model changes

Maybe

Release notes snippet

πŸ› Bug report
Status

Closed: duplicate

Version

9.5

Component
FilterΒ  β†’

Last updated about 4 hours ago

No maintainer
Created by

πŸ‡³πŸ‡±Netherlands Lendude Amsterdam

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