Closed spring-projects-issues closed 6 years ago
Oliver Drotbohm commented
Thanks for spotting this. Should be fixed in Kay and Lovelace branches
David Siro commented
Great, thank you for the fix, when do you expect 3.0.3 (Kay SR3) to be released?
Oliver Drotbohm commented
We're usually tying bugfix releases to the Spring Boot ones. Unfortunately SR2 was just release two days ago, so it might take a while :/
David Siro opened DATAREST-1163 and commented
Any validation that rejects null value subsequently fails when building the validation output.
The problem could be hunted down to org.springframework.data.rest.core.ValidationErrors#getValue that throws above-mentioned exception when PropertyAccessor reads the null value.
Affects: 3.0.2 (Kay SR2)
Issue Links:
@NotNull
fails with JSR-303 validated property does not have a corresponding accessor ("is duplicated by")Referenced from: commits https://github.com/spring-projects/spring-data-rest/commit/1ebdeb95892cf6821992f1678e93c6a8cb6c0bef, https://github.com/spring-projects/spring-data-rest/commit/e74491238600a166a939c8f47cca55862082b4b3
Backported to: 3.0.3 (Kay SR3)