GRAILS-5101: Compound "unique" constraints incorrectly pass validation if one of the fields is null
Open
relates-to: gorm
- Dominant language
- Groovy
- Stars
- 2.9k
- Forks
- 975
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 92
Description
Original Reporter: wangjammer5
Environment: Not Specified
Version: 1.2-M2
Migrated From: http://jira.grails.org/browse/GRAILS-5101
Contributor guide
Research direction
No source file or test is named. Start by locating the validation code and tests for compound unique constraints, then reproduce the case where one field is null. Done means the invalid combination no longer passes validation and the behavior is covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100