-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Adding an error to an already invalid record throws unhandled becameInvalid
event
#3707
Comments
Same problem for me. It seems that removing the model's error do not send the event |
@tchak I'm not sure what the expected behavior is here. Do you mind taking a look at this issue? |
will investigate tonight or tomorrow |
I tried to replicate in test form, but was unable to. @offirgolan maybe you can use my PR as a stepping stone? |
Okay so after a long time of debugging I figured out what's going on. @stefanpenner couldn't replicate the issue since it was actually fixed but I dont know when or how. Here is my findings: This is how the flow should be:
This is what was actually happening
In I was able to replicate the issue up until 2.1.0-beta.1 but once I switched over to 2.2.0-canary, this issue was resolved. |
If I remember correctly it was a bug with ArrayProxies temporary introduced in some minor version of Ember. I am pretty confident to close it. Feel free to reopen if needed. |
Ember Data > 1.13.6
JSBin: http://emberjs.jsbin.com/tapeva/edit?html,js,output
Error: Attempted to handle event 'becameInvalid' on <App.Book:ember418:null> while in state root.loaded.created.invalid.
Original StackOverflow Post
The text was updated successfully, but these errors were encountered: