Details
-
Task
-
Status: Closed
-
Medium
-
Resolution: Done
-
None
-
None
-
None
Description
The bean validator reports invalid fields by the name as they appear within the class being validated. However, the field may be named something different in the incoming data, due to the use of the SerializedName annotation. It might be better if the error messages took that into account, as that specifies the name that the client likely used, thus potentially leading to confusion.
Attachments
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
121620,1 | Validator should report serialized field name | master | policy/common | Status: MERGED | +2 | +1 |
121681,2 | Fix junits for new bean validation field names | master | policy/models | Status: MERGED | +2 | +1 |
121682,1 | Update junits for bean validator field name | master | policy/pap | Status: MERGED | +2 | +1 |
121683,1 | Update junits for bean validator field name | master | policy/xacml-pdp | Status: MERGED | +2 | +1 |