[Issue] Enforce array type in DesignTheme config processor #34440
Labels
Component: Theme
Issue: ready for confirmation
Priority: P2
A defect with this priority could have functionality issues which are not to expectations.
Priority: P4
No current plan to fix. Fixing can be deferred as a logical part of more important work.
Progress: PR in progress
Projects
This issue is automatically created based on existing pull request: #34092: Enforce array type in DesignTheme config processor
Description (*)
Without the type check, an empty config node like
<my_store />
in aconfig.xml
breaks installation, asnull
is passed to the private method.Related Pull Requests
none
Fixed Issues (if relevant)
none (can be created if desired)
Manual testing scenarios (*)
config.xml
<my_store />
bin/magento setup:install
or integration test suiteQuestions or comments
Since the changed method is private, this change is 100% backwards compatible. I'm not adding a test case since not having regressions should be a sufficient merge criteria when adding types.
Contribution checklist (*)
The text was updated successfully, but these errors were encountered: