Component::onDependencyRemoval() should be an uninstall validator

Created on 6 June 2025, 1 day ago

Overview

Component::onDependencyRemoval() replaces the current component version with a fallback plugin.

However if this code is running, it would usually mean that a module or theme is being uninstalled.

Replacing the component (e.g. if it's an SDC) with a fallback plugin silently could mean breaking a lot of content - on the basis that the user might know where that SDC comes from.

So... I think this could be an uninstall validator.

Proposed resolution

User interface changes

🐛 Bug report
Status

Active

Version

0.0

Component

Config management

Created by

🇬🇧United Kingdom catch

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

Comments & Activities

Production build 0.71.5 2024