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
While SpringValidatorAdapter properly supports unwrap calls for the native JSR-303 Validator, its subclass LocalValidatorFactoryBean does not support unwrap for the native JSR-303 ValidatorFactory but rather just inherits the Validator-level support.
This needs to be revised towards proper ValidatorFactory unwrapping, in particular for getClockProvider() access on BV 2.0 and also getParameterNameProvider() access on BV 1.1.
Juergen Hoeller opened SPR-15561 and commented
While
SpringValidatorAdapter
properly supportsunwrap
calls for the native JSR-303Validator
, its subclassLocalValidatorFactoryBean
does not supportunwrap
for the native JSR-303ValidatorFactory
but rather just inherits theValidator
-level support.This needs to be revised towards proper
ValidatorFactory
unwrapping, in particular forgetClockProvider()
access on BV 2.0 and alsogetParameterNameProvider()
access on BV 1.1.Issue Links:
@Lazy
validatorReferenced from: commits cb3d1be, ac25db6
The text was updated successfully, but these errors were encountered: