magento / magento/m2-devtools

Cannot read property 'sectionLoadUrl' of undefined

Open
#56 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
171
Forks
47
PR merge metrics
No merged PRs in 30d

Description

Hey,

very nice tool .. real time saver!

Magento: 2.3.1

With the automatic generation I have 2 files that won't work. I think they are loaded to early. I removed them via empty .. then it works.

"Magento_Checkout/js/model/totals": "empty:",
"Magento_Checkout/js/view/minicart": "empty:"

Would be nice if you can integrate a solution.

Regards
Marcus

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the automatic generation problem on Magento 2.3.1 and trace how Magento_Checkout/js/model/totals and Magento_Checkout/js/view/minicart are handled. Compare the generated output with the working result after removing those entries via empty; done means the generated files no longer trigger the reported sectionLoadUrl error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.