Skip to content

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

Closed

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

Activity

  1. added
    type: bug
    in: core
    on Jan 11, 2019
  2. added this to the 4.3.9 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: coretype: bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions