-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Auto tracking regression in +3.28 #427
Comments
Thanks @pjcarly. When you say 3.28 do you mean ember-source or ember-data? But yeah a reproduction of some sort would be good 👍 |
Both at 3.28, I have been trying to reproduce it the entire week, no luck so far. Still investigating. |
All right, I am a small step further, I managed to reproduce the error in a standalone application, it is the combination of this addon, together with And weirdly it does not occur with data mocked with Still investigating... |
By using |
Any updates on this ? We're hitting the same issue on our way to 4... |
Have you tried the betas? |
@knownasilya No I haven't, will try and let you know... Thank you! |
@ptgamr did you have luck? |
@knownasilya @ptgamr Any luck here? I'd love to get up to 4! |
There is a new release |
I'll be releasing a new patch version today or tomorrow, so watch out for that as well. |
I'm on |
@VincentMolinie any chance you can look into it? |
I am facing the same issue in our app. using ember-data-model-fragment: 6.0.5 i do not have ember-data-change-tracker addon as my dependency though. Noticed that removing the defaultValue set for some attributes in the model seem to fix the issue, but unfortunately we need those defaults. any fix/workaround available? |
Most of my errors are gone. I saw it once last week if I tried to save a record that has fragment inside, I had to wait for the next run loop and then save my record and in that case it works correctly. But not sure it was linked to ember-data-model-fragments 🤷 |
I have narrowed down a regression in our application to Ember Data Model Fragments, we notice this since upgrading to 3.28 in certain scenarios.
I have tried debugging, but can't seem to figure out where the regression occurs.
It happens in a context the moment we try to call
model.get('address')
. Where address is a fragment.We often see this as a warning, but in some specific scenario's it causes an outright error, crashing the application.
We are seeing this error:
Seeing something similar here: emberjs/ember.js#18613 (comment)
And thanks to the explanation of @NullVoxPopuli I kind of understand what is going on. Unfortunately, the solution presented
await Promise.resolve();
does not fix the issue.I will try to create a reproduction application, in the coming days.
The text was updated successfully, but these errors were encountered: