- Issue created by @borisson_
- ๐ง๐ชBelgium borisson_ Mechelen, ๐ง๐ช
The config should be updated at the source of the problem here, which is in shortcut.schema.yml
- ๐ฎ๐ณIndia prashant.c Dharamshala
Prashant.c โ made their first commit to this issueโs fork.
- Status changed to Needs review
about 1 year ago 10:18am 15 December 2023 - ๐ฎ๐ณIndia prashant.c Dharamshala
1. Added
mapping
forthird_party_settings
inclaro.schema.yml
2. Executedddev drush config:inspect --filter-keys=claro.settings --detail --list-constraints
gave all keys validated.โ ๐ค Analyzingโฆ Legend for Data: โ โ โ Correct primitive type, detailed validation impossible. โ โ โ Correct primitive type, passed all validation constraints. ----------------------------------------------------------- --------- ------------- ------ ------------------------ Key Status Validatable Data Validation constraints ----------------------------------------------------------- --------- ------------- ------ ------------------------ claro.settings Correct 100% โ โ ValidKeys: '<infer>' claro.settings: Correct Validatable โ โ ValidKeys: '<infer>' claro.settings:third_party_settings Correct Validatable โ โ ValidKeys: '<infer>' claro.settings:third_party_settings.shortcut Correct Validatable โ โ ValidKeys: '<infer>' claro.settings:third_party_settings.shortcut.module_link Correct Validatable โ โ โฃ PrimitiveType: { } ----------------------------------------------------------- --------- ------------- ------ ------------------------
Please review.
Thanks!
- Status changed to Needs work
about 1 year ago 1:10pm 15 December 2023 - ๐ฎ๐ณIndia prashant.c Dharamshala
But
shortcut.schema.yml
already has this section:theme_settings.third_party.shortcut: type: mapping label: 'Shortcut settings' mapping: module_link: type: boolean label: 'Add shortcut link'
Could you please guide here?
Thanks
- ๐ง๐ชBelgium borisson_ Mechelen, ๐ง๐ช
I looked into this, I see that olivero does this in the same way. I'm not sure how we can tell the third party settings to apply to this.
Since I'm not sure how to proceed here, I asked in slack: https://drupal.slack.com/archives/C2THUBAVA/p1702728107642189
- ๐ง๐ชBelgium borisson_ Mechelen, ๐ง๐ช
Actually, this should be fixed in the same way as ๐ [PP-1] olivero.settings config schema is wrong Postponed
- ๐ฎ๐ณIndia prashant.c Dharamshala
okay then I guess, we can follow the same approach based on the conclusion in https://www.drupal.org/project/drupal/issues/3402885 ๐ [PP-1] olivero.settings config schema is wrong Postponed .
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
This now needs the
FullyValidatable
constraint to be added toclaro.settings
. See https://www.drupal.org/node/3404425 โ . - First commit to issue fork.
- Status changed to Postponed
11 months ago 2:41pm 27 January 2024 - ๐ง๐ชBelgium svendecabooter Gent
This is postponed on https://www.drupal.org/project/drupal/issues/3416178 ๐ Add validation constraints to `type: theme_settings` Active , because (amongst other issues) the "favicon" property contains properties that are dependent on the value of "use_default".