Add validation constraints to system.advisories

Created on 9 April 2024, 8 months ago
Updated 26 April 2024, 7 months ago

Problem/Motivation

 ./vendor/bin/drush config:inspect --filter-keys=system.advisories --detail --list-constraints
โžœ  ๐Ÿค– Analyzingโ€ฆ

 Legend for Data:
  โœ…โ“  โ†’ Correct primitive type, detailed validation impossible.
  โœ…โœ…  โ†’ Correct primitive type, passed all validation constraints.
 ---------------------------------------------- --------- ------------- ------ ------------------------------------------
  Key                                            Status    Validatable   Data   Validation constraints
 ---------------------------------------------- --------- ------------- ------ ------------------------------------------
  system.advisories                              Correct   80%           โœ…โ“   ValidKeys: '<infer>'
   system.advisories:                            Correct   Validatable   โœ…โœ…   ValidKeys: '<infer>'
   system.advisories:_core                       Correct   Validatable   โœ…โœ…   ValidKeys:
                                                                                  - default_config_hash
   system.advisories:_core.default_config_hash   Correct   Validatable   โœ…โœ…   NotNull: {  }
                                                                                Regex: '/^[a-zA-Z0-9\-_]+$/'
                                                                                Length: 43
                                                                                โ†ฃ PrimitiveType: {  }
   system.advisories:enabled                     Correct   Validatable   โœ…โœ…   โ†ฃ PrimitiveType: {  }
   system.advisories:interval_hours              Correct   NOT           โœ…โ“   โš ๏ธ  @todo Add validation constraints here
 ---------------------------------------------- --------- ------------- ------ ------------------------------------------

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

๐Ÿ“Œ Task
Status

Fixed

Version

10.3 โœจ

Component
Systemย  โ†’

Last updated 2 days ago

No maintainer
Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia omkar.podey

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