Skip to content

LocalValidatorFactoryBean does not support unwrap for native ValidatorFactory [SPR-15561] #20120

Closed
@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-15561 and commented

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.


Issue Links:

Referenced from: commits cb3d1be, ac25db6

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions