Wrong regex constraint for origin in stage_file_proxy.settings

Created on 21 May 2025, 2 months ago

Problem/Motivation

Since 3.1.5, see commit

Running config_inspector (via the drush command) now throws the following

stage_file_proxy.settings   Correct   78%           1 errors   ValidKeys: '<infer>'                        
                                                                 LangcodeRequiredIfTranslatableValues: null

Steps to reproduce

Execute drush config:inspect

Proposed resolution

The violation actually comes from \Symfony\Component\Validator\Constraints\RegexValidator::validate when checking the origin key. match: true is the default, so the constraint should be either:
1.

pattern: '/\/$/'
match: false

2. OR

pattern: '/[^\/]$/'
match: true

Remaining tasks

?

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Active

Version

3.1

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium herved

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