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

Fix shared references in ValidationEngine #6756

Merged

Conversation

kevinansfield
Copy link
Contributor

no issue

  • ensure that each object instance using the ValidationEngine mixin gets it's own errors and hasValidated objects
  • updates some uses of ValidationEngine that were relying on side-effects of the unintended reference sharing
  • fixes issue with add subscriber modal displaying an error state after opening if it previously had errors when closing

…ances

no issue
- ensure that each validator instance gets it's own `errors` and `hasValidated` objects
- updates some uses of `ValidationEngine` that were relying on side-effects of the unintended reference sharing
- fixes issue with add subscriber modal displaying an error state after opening if it previously had errors when closing
@ErisDS ErisDS merged commit 452664a into TryGhost:master Apr 26, 2016
@ErisDS ErisDS deleted the fix-validation-engine-shared-refs branch April 26, 2016 11:30
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

Successfully merging this pull request may close these issues.

2 participants