Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue May 18, 2017 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented May 18, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants