Uploaded image for project: 'Hibernate Validator'
  1. HV-1471

Properly reset the context after constraint validation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.1.Final
    • Fix Version/s: 6.0.2.Final
    • Component/s: engine
    • Environment:
      Hibernate version 6.0.1.Final, JavaFX version 8.0.101

      Description

      Posted here: https://stackoverflow.com/questions/45742578/hibernate-validatevalue-interaction-with-value-extractor

      Validator.validateValue does not inject provided value to JavaFX's ObjectProperty and throws ClassCastException. Providing an ObjectProperty as the value to validateValue unwraps the value before attempting to set it.

      EDIT: Test case: https://github.com/willieddy/hibernate-javafx-validate-value-test-case

      In writing this test case, this bug isn't present in 5.4.1.Final

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: