Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.3.Final
    • Fix Version/s: 5.2.0.Beta1
    • Component/s: engine
    • Labels:
    • Environment:
      java 8, Eclipse Luna
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

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

      Description

      I have a valid CPF that basically doesn't pass the CPF validation. I don't want to copy my cpf here b/c of the risk of identity theft. Let us say it's: 22345678910

      I enter it without dot notation or hyphenation and it fails validation. As it is my own cpf, I'm 100% certain it's correct.

      	@CPF
      	public String getCPF() {
      		return CPF;
      	}
      

      The reason is that extractVerificationString throws an indexOutOfBoundsException b/c of this:
      return value.substring( startIndex, endIndex + 1 );

        Attachments

          Issue links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: