You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be neat if we could have config:store:get read default.xml, config.php, and env.php appropriately.
I really like mageruns ability to search with wildcards like '%yotpo%' but we cant trust the output of that based on the hardcoded values.
I'm working around this by php bin/magento config:show | grep yotpo
Expected Benefits
More truthful values of the actual configuration used on the site. I'm not sure how easy or difficult this is, or whether it would end up as a copy of config:show but with differing pattern matching after the full list of config has been worked out?
The text was updated successfully, but these errors were encountered:
@convenient Yes, that would be a interesting enhancement. Maybe it's a bit difficult. Currently we use the DB to query the table.
In the new scenario we need to search in the merged config data.
@cmuench yes thats what I was thinking which makes the sql syntax a bit difficult. For now i will use magento core config:show and try to remember a little grep -E regex to replace % wildcards :)
convenient
changed the title
config:store:get does not read config.php or env.php
config:store:get does not read config.php or env.php, or default.xml
Oct 20, 2022
convenient
changed the title
config:store:get does not read config.php or env.php, or default.xml
config:store:get does not read config.php or env.php, or default xml
Oct 20, 2022
Current Implementation
When you have config stored in
env.php
andconfig.php
then usingconfig:store:get
can produce values which arent actually used on the site.For example putting into
env.php
Then running
config:store:get
we get the value fromcore_config_data
which won't actually be used in the system.However magentos config:show command properly reads it
If you remove the value from
env.php
then magentosconfig:show
properly falls back tocore_config_data
Suggested Enhancement
It would be neat if we could have
config:store:get
readdefault.xml
,config.php
, andenv.php
appropriately.I really like mageruns ability to search with wildcards like
'%yotpo%'
but we cant trust the output of that based on the hardcoded values.I'm working around this by
php bin/magento config:show | grep yotpo
Expected Benefits
More truthful values of the actual configuration used on the site. I'm not sure how easy or difficult this is, or whether it would end up as a copy of
config:show
but with differing pattern matching after the full list of config has been worked out?The text was updated successfully, but these errors were encountered: