Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2697

BeanValidation class is annotated with @FacesValidator tag

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1
    • JSR-314
    • None

    Description

      BeanValidation class is annotated with @FacesVallidator annotation, and it should not be.

      We know that by default BeanValidation should be added to the Application object only if the param javax.faces.validator.DISABLE_DEFAULT_BEAN_VALIDATOR is set to false. So, there is no reason to use @FacesValidator, let the scanner find it and then check the property. It is better keep things simple and simplify the code on FacesConfigurator.

      Attachments

        Activity

          People

            jakobkorherr Jakob Korherr
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: