Open
Description
Js mixins and/or path mappings are applied even if modules are not used but are enabled. For example Magento 2 ships with Temando_Shipping extension , this defines mappings on few js files.
If Temando_Shipping is not configured from admin to be used on frontend , mappings still apply and affect the original behaviour that is needed when extension is not configured to be used.
Of course Temando_Shipping is just an example here , same applies to every mixin/mapping defined for any included extension in requirejs-config.js
Preconditions
- All Magento 2 versions
Steps to reproduce
- Install Magento with demo data 2.2.4 (don't configure Temando_Shipping)
- Add stuff to cart , reach checkout
- Temando_Shipping module mappings are active in checkout even if module is not enabled (not even arguing what issues it creates, but just to illustrate)
Expected result
- If extension is not configured to be used, we expect that it does not affect whatever is target for a mixin cause there is no need for customisation
- There needs to be a way to tie mixin enabling to configuration status not just enabled/disabled status of whole module. There might even be a need for more precise control on when mixins/mappings are applied by the area extension customises (by layout handler etc)
Actual result
- Temando_Shipping module mappings are active in checkout even if shipping method is not enabled from configuration.
- Dependant on developer skill or amount of methods altered this affects other extensions or even default modules to work as expected
Metadata
Metadata
Assignees
Labels
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmedNo current plan to fix. Fixing can be deferred as a logical part of more important work.The issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.3 releaseAffects aesthetics, professional look and feel, “quality” or “usability”.Issue related to Developer Experience and needs help with Triage to Confirm or Reject it
Type
Projects
Status
Ready for Grooming