-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Cli config show returns Configuration ... doesn't exist
if value is 0 or empty string
#28549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cli config show returns Configuration ... doesn't exist
if value is 0 or empty string
#28549
Conversation
Hi @engcom-Charlie. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. |
@magento run all tests |
Hi @aleron75, thank you for the review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @engcom-Charlie .
During testing, we faced the issue.
Manual testing scenario:
-
Run in console command:
./bin/magento config:set analytics/subscription/enabled ''
for example;
✔️ Value was saved
-
Run command:
./bin/magento config:show analytics/subscription/enabled
Actual Result: ✖️ Configuration for path doesn't exist..
Note: In core_config_data
table config was saved with value "NULL"
@engcom-Charlie Could you take a look?
Thanks!
Pull Request state was updated. Re-review required.
Hi @VladimirZaets, thank you for the review. |
@magento run all tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The failing functional test doesn't seem related to this PR; furthermore, I don't understand the code mess checker that complains about too many dependencies which I don't see in the constructor. Thus I approve.
Hi @aleron75, thank you for the review. |
@magento run all tests |
Code mess checker was fallen due to the number of classes in |
Hi @aleron75, thank you for the review. |
…` if value is 0 or empty string #28549
Hi @engcom-Charlie, thank you for your contribution! |
Description (*)
Fixed and covered by test.
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
0
or''
(empty string)bin/magento config:show {{path}}
Questions or comments
Contribution checklist (*)