-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Issue #35751 bin/magento config:show fails #35815
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
base: 2.4-develop
Are you sure you want to change the base?
Conversation
Hi @artskirk. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Run only required test builds during development. Run all test builds before sending your pull request for review. For more details, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket. ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
I have tried this PR locally, but while a command like this: |
@@ -172,13 +172,11 @@ protected function execute(InputInterface $input, OutputInterface $output) | |||
|
|||
$configValue = $this->emulatedAreaProcessor->process(function () { | |||
$this->scopeValidator->isValid($this->scope, $this->scopeCode); | |||
$configPath = $this->pathResolver->resolve($this->inputPath, $this->scope, $this->scopeCode); | |||
if ($this->inputPath) { |
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.
This IF is not longer needed
Description (*)
I have rewrite \Magento\Config\Model\Config\PathValidator::validate functionality method and use Magento\Config\App\Config\Source\RuntimeConfigSource class to retrieve config value by config path instead of the Magento\Config\Model\Config\Structure , because it returns only paths are declared in module's system.xml.
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
design/theme/theme_id - 3
Expected Result
Will return config value - 3
Questions or comments
Contribution checklist (*)