Invalid constraint for server.verify in cas.settings

Created on 22 August 2025, 11 days ago

Problem/Motivation

📌 Modernize CAS module code Fixed added a Range: { min: 0, max: 1 } constraint on server.verify in cas.schema.yml
This throws an warning with config_inspector when the value is set to 2 (SslCertificateVerification::None).

Steps to reproduce

- Install cas and config_inspector
- At /admin/config/people/cas set "SSL Verification" to "Do not verify" and save
- Run: drush config:inspect --only-error --detail --list-constraints
- Output:

 cas.settings                                       Correct   84%           1 errors   ValidKeys: '<infer>'                        
                                                                                        LangcodeRequiredIfTranslatableValues: null

Proposed resolution

[PP-1] Enum cases stored in config Postponed would be nice but is wip/postponed
Till then, fix the constraint to Range: { min: 0, max: 2 } or use the Choice constraint?

Remaining tasks

do it

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Active

Version

3.0

Component

CAS

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