You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SpringValidatorAdapter fails to retrieve value for Bean Validation 2.0's "<list element>" literal [SPR-15839] #20394
I hope that "Reference URL" contains SSCCE. Will keep it for some time. I've attached all interesting files just in case something goes wrong.
As you (will be able to) see, validator.validate(bean, errors) ends up with IllegalStateException. I would expect one field error instead.
One more thing: I believe it's not about "bean property versus direct field access". Getters and setters are here. To be sure, I checked not only BeanPropertyBindingResult but DirectFieldBindingResult too. Same result.
Activity
spring-projects-issues commentedon Aug 8, 2017
Michał Sobkiewicz commented
How about few additional tests for
<map key>and<map value>? If you like, feel free grab them from: https://github.com/perceptron8/spr-13482/blob/master/src/test/java/SpringValidatorAdapterTests.java.