-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Open
Labels
Progress: dev in progressProgress: ready for groomingReported on 2.4.xIndicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branchTriage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject itIssue related to Developer Experience and needs help with Triage to Confirm or Reject itfeature request
Description
Summary
If you have any error in your knockoutjs template you wont see the actual error given by the parser at loading the template, instead it just logs:
Failed to load the "module/components/whatever/path" template requested by "another module".
but the file can be loaded via network.
You need to intercept the Magento_Ui/js/lib/knockout/template/engine script at the point
consoleLogger.error('templateLoadingFail', {
template: templateId,
component: bindingContext.$data.name
});
and grab the first argument of the function to get the actual error.
You might still need the error in production mode, so it should be visible in the browsers console at any time.
Examples
Proposed solution
No response
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”.
denistrator
Metadata
Metadata
Assignees
Labels
Progress: dev in progressProgress: ready for groomingReported on 2.4.xIndicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branchTriage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject itIssue related to Developer Experience and needs help with Triage to Confirm or Reject itfeature request
Type
Projects
Status
Ready for Dev