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

EMBER_METAL_TRACKED_PROPERTIES fails with Ember Data #17651

Closed
ppcano opened this issue Feb 22, 2019 · 3 comments
Closed

EMBER_METAL_TRACKED_PROPERTIES fails with Ember Data #17651

ppcano opened this issue Feb 22, 2019 · 3 comments
Assignees

Comments

@ppcano
Copy link
Contributor

ppcano commented Feb 22, 2019

@pzuraq

Testing the octane blueprints with Ember Data; update(propertyTag, tag) triggers an exception.

screen shot 2019-02-22 at 4 50 18 am

Using a simple model like:

export default Model.extend({
  name: attr('string')
});
@pzuraq
Copy link
Contributor

pzuraq commented Feb 22, 2019

For sure, thanks for the report! So, all you’re doing is setting the attr? Can you possibly copy to code that causes the failure?

@ppcano
Copy link
Contributor Author

ppcano commented Feb 22, 2019

@pzuraq The project https://github.com/ppcano/oct5

If you change the EMBER_METAL_TRACKED_PROPERTIES at config/environment.js will trigger the error.

It looks the problem is triggered by ED when normalizing the server response.

@rwjblue
Copy link
Member

rwjblue commented Feb 22, 2019

Thank you for reporting @ppcano!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants