Sorry, I have tried to find something about this in the forum, but have been unable to do so. However, I cannot believe I am the first to have it.
I have several class-level annotations that apply to a number of properties (@EqualTo.List({ ... }), for instance). However, when the errors return, there is always only a single error message for each annotation type, no matter how many fields are actually invalid (so I have a number of @EqualTo and @NotNull [mine, not the default] properties, but only one EqualTo message appears and only one NotNull message appears, each applying to only a single property, even though several properties are in fact null or not equal).
Is this because the system automatically short-circuits when a single validation of a given type fails? Can this be overridden?
Thanks in advance for all replies!
David Sills
|