-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Fix handling of mixins for modules with no dependencies defined #27690
Conversation
Hi @krzksz. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
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.
Failing functional test not related to changes from this PR>
Hi @ihor-sviziev, thank you for the review. |
@magento run Functional Tests B2B,Functional Tests CE |
@magento create issue |
@magento run Functional Tests B2B,Functional Tests CE |
Failed functional tests not related to the changes in this PR |
Hi @krzksz, thank you for your contribution! |
Description (*)
This PR addresses an issue that was outlined in #25587 (comment) and investigated by me afterwards.
This is a regression I have introduced when refactoring mixins module, but it applies only in two cases which are not present in the Magento itself:
which both results in special case where second element of RequireJS's
defQueue
isnull
and made the script throw an error when somebody required such module.Manual testing scenarios (*)
TypeError: Cannot read property 'map' of null
is thrown.Questions or comments
Contribution checklist (*)
Resolved issues: