drush icon indicating copy to clipboard operation
drush copied to clipboard

"config:get" command is not returning config value when checking for language override

Open joshirohit100 opened this issue 2 years ago • 1 comments

Describe the bug We have multilingual site where we have translated simple config object. When we try to get the config language specific, its not working

To Reproduce

  • Setup a multilingual site (2 languages), english as default for example
  • Add value fo a multilingual config like system.site
  • Check drush cget system.site - This works
  • drush cget language.LANGCODE_HERE:system.site - This doesn't work. (We are using arabic as other language for info)

Expected behavior drush cget language.LANGCODE_HERE:system.site should show the language speicific config Actual behavior

System Configuration

Drush and Drupal version where this is not working - Drush=10.6.2 and Drupal=9.2.16 Drush and Drupal version where this is working - Drush=9.7.3 and Drupal=8.9.18

Additional information Add any other context about the problem here.

joshirohit100 avatar Jul 13 '22 05:07 joshirohit100

Checked with

drush  php-eval 'print_r(\Drupal::configFactory()->getEditable("language.ar:system.site")->getRawData())'

and this also returning null value. Thus not sure if drush issue or drupal core issue

joshirohit100 avatar Jul 13 '22 06:07 joshirohit100