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

@CPF and @CPNJ only works with input containing puctuation characters like 134.241.313-00

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.Final, 5.1.1.Final, 5.1.2.Final
    • Fix Version/s: 5.2.0.Beta1
    • Component/s: validators
    • Labels:
    • Environment:
      Version 5.1.0.Final and after
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      I'm using @CPF and @CNPJ annotations for validation. In version 5.0.3.Final it works. But in version 5.1.0.Final and after, it isn't working anymore.

      A maven project is attached with the broken tests in version 5.1.0.Final.

        Attachments

          Issue links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: