Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handlebars cant resolve property #259

Closed
Szbuli opened this issue Feb 10, 2020 · 1 comment
Closed

Handlebars cant resolve property #259

Szbuli opened this issue Feb 10, 2020 · 1 comment
Assignees
Labels
type: bug 🐛 Something isn't working

Comments

@Szbuli
Copy link

Szbuli commented Feb 10, 2020

Describe the bug
Handlebars cant resolve some properties.

To Reproduce
Generate Order Confirmation test email

Additional context
Log:

Handlebars: Access has been denied to resolve the property "totalPrice" because it is not an "own property" of its parent.
You can add a runtime option to disable the check or this warning:
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details

@Szbuli Szbuli added the type: bug 🐛 Something isn't working label Feb 10, 2020
@michaelbromley
Copy link
Member

Thanks for report. V4.6.0 of Handlebars has a breaking change (https://github.com/wycats/handlebars.js/blob/master/release-notes.md#v460---January-8th-2020). Classic SemVer problems 😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants