[Issue] Fix handling of mixins for modules with no dependencies defined #28340
Labels
Fixed in 2.4.x
The issue has been fixed in 2.4-develop branch
Issue: Format is not valid
Gate 1 Failed. Automatic verification of issue format is failed
Priority: P3
May be fixed according to the position in the backlog.
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
Severity: S3
Affects non-critical data or functionality and does not force users to employ a workaround.
This issue is automatically created based on existing pull request: #27690: Fix handling of mixins for modules with no dependencies defined
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 (*)
The text was updated successfully, but these errors were encountered: