- Issue created by @alexpott
- Status changed to Needs review
6 months ago 2:30pm 18 June 2024 - Status changed to RTBC
6 months ago 3:08pm 18 June 2024 - 🇩🇪Germany daniel.bosen
I have lots of these errors in my projects. The patch fixes it and the implementation looks good to me.
- 🇧🇪Belgium herved
I stumbled on this issue in our CI, but cannot reproduce locally for some reason...
The patch does fix the issue for me as well, as long as I don't use --list-constraints
If I do, I get:/vendor/bin/drush config:inspect --only-error --detail --list-constraints > 🤖 Analyzing… [warning] Undefined array key "menu_position.settings" ConfigSchemaValidatability.php:164 TypeError: Drupal\config_inspector\ConfigSchemaValidatability::getConstraints(): Return value must be of type array, null returned in modules/contrib/config_inspector/src/ConfigSchemaValidatability.php on line 164 #0 modules/contrib/config_inspector/src/Commands/InspectorCommands.php(577): Drupal\config_inspector\ConfigSchemaValidatability->getConstraints() #1 modules/contrib/config_inspector/src/Commands/InspectorCommands.php(257): Drupal\config_inspector\Commands\InspectorCommands::getPrintableConstraints() #2 [internal function]: Drupal\config_inspector\Commands\InspectorCommands->inspect()
This might be another issue I'm not sure...