Bug 1307263 - [GSS](6.4.z) HV-665 - Consider concerned constraint in identity of constraint violations
Summary: [GSS](6.4.z) HV-665 - Consider concerned constraint in identity of constraint...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Hibernate
Version: 6.4.6
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: CR1
: EAP 6.4.9
Assignee: Gail Badner
QA Contact: Martin Simka
URL:
Whiteboard:
Depends On:
Blocks: 1305442 1307264 eap649-payload
TreeView+ depends on / blocked
 
Reported: 2016-02-13 19:42 UTC by Brad Maxwell
Modified: 2019-12-16 05:23 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-17 12:54:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Article) 2435181 0 None None None 2016-07-11 10:48:03 UTC

Description Brad Maxwell 2016-02-13 19:42:41 UTC
Currently the concerned constraint is not considered when determining the identity of ConstraintViolationImpl (equals() and hashCode()). This causes only one violation to be contained in the set returned by Validator#validate() when validating e.g. the following property:

@Size(min=2, message="must be 2 at least")
@DecimalMin(value="2", message="must be 2 at least")
String name = "1";

Comment 1 Brad Maxwell 2016-02-13 19:43:46 UTC
https://hibernate.atlassian.net/browse/HV-665

Comment 6 Jiří Bílek 2016-06-28 13:10:20 UTC
Verified with EAP 6.4.9.CP.CR2

Comment 7 Petr Penicka 2017-01-17 12:54:57 UTC
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.


Note You need to log in before you can comment on or make changes to this bug.