Implement config schema deprecation for efault_argument_skip_url

Created on 3 June 2024, 3 months ago
Updated 5 June 2024, 3 months ago

Problem/Motivation

Not sure how viable this is but opening for discussion.

The removal of default_argument_skip_url affects 180+ contrib modules but because the deprecation layer is entirely runtime (trigger_error()) it's not possible to detect outside runtime. πŸ› Add proper deprecation notices in config entity presave bc layers Active is dealing with the fact we haven't always done the trigger_error() properly but I wonder if we can do something beyond that.

The idea would be to add something to the config schema layer that indicates that a key is deprecated - this would potentially allow upgrade_status to know which config schema keys are deprecated then warn when it finds that key in a module.

It could also help us to trigger the deprecation message generically in core when config is saved with that key, which would help a subset of config update issues (obviously wouldn't help with more restrictive values etc., just removing keys). e.g. we might be able to keep that in longer than the update paths themselves?

We've added deprecation support to other YAML before - libraries support both deprecated and the new 'moved_files' syntax.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
ViewsΒ  β†’

Last updated about 12 hours ago

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