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

WARNING: Interacting with a record errors object will no longer change the record state. #35

Closed
esbanarango opened this issue May 4, 2016 · 2 comments

Comments

@esbanarango
Copy link
Owner

No description provided.

@arthur5005
Copy link

This sounds pretty fundamental, seems to stem from calling clear() on the errors collection in the validate() method.
Any action on this?

@c0achmcguirk
Copy link

As a quick and dirty way you could replace:

// Clean all the current errors
this.get('errors').clear();

With this:

// Clean all the current errors
this._internalModel.clearErrorMessages()

But that's probably worse than what the deprecation warning is about.

It was deprecated in this commit.

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