Open
Description
Preconditions and environment
Preconditions
- Magento 2.4.x (tested on 2.4.7)
- Admin panel, product composite configuration popup
- JS module:
Magento_Catalog/catalog/product/composite/configure.js
Steps to reproduce
- Try to create a mixin for
ProductConfigure
viaconfig.mixins
inrequirejs-config.js
- Magento ignores the mixin
- I'm forced to patch
window.ProductConfigure
using asetTimeout
or poller pattern
Expected result
The file should return the ProductConfigure
constructor as an AMD module to extend it via proper config.mixins
mechanism.
Actual result
The file does not return anything, so require('Magento_Catalog/catalog/product/composite/configure') returns undefined, and RequireJS mixins cannot be applied.
Additional information
This is backward-compatible and would allow proper mixin usage without breaking global usage (window.ProductConfigure = ProductConfigure).
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Needs Update