Skip to content

Conversation

@presskey
Copy link

There was a problem in uniqueness validator that allowed model with custom primary key to pass validation when non unique primary key value was set which resulted in exception.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is't to it's

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@repinel thank you. I've replaced is't with isn't

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool 😄

@presskey presskey force-pushed the validate_uniqueness_of_custom_primary_key branch from 534df3e to 2569ee8 Compare July 21, 2015 19:12
@presskey presskey force-pushed the validate_uniqueness_of_custom_primary_key branch from 2569ee8 to 2d58f58 Compare July 21, 2015 19:13
@presskey presskey closed this Jul 25, 2015
@presskey presskey reopened this Jul 25, 2015
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These shouldn't be symbolized.

@sgrif
Copy link
Contributor

sgrif commented Jul 25, 2015

I went ahead and fixed the issues I had with the implementation, added a changelog, and committed. You've been credited for the commit. 119b918

@sgrif sgrif closed this Jul 25, 2015
sgrif added a commit that referenced this pull request Jul 25, 2015
This is an alternate implementation of #20966.

[Sean Griffin & presskey]
@presskey presskey deleted the validate_uniqueness_of_custom_primary_key branch October 29, 2017 08:49
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.

3 participants