Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6624

error in isValidEan util

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release Branch 14.12
    • 14.12.01, 12.04.06, 13.07.03, 16.11.01
    • None
    • None
    • Patch

    Description

      Hi,
      There is an error in isValidEan util. It should be 12 and not 13 in the methods charAt and calcChecksum because they start at 0.

      Attachments

        1. UtilValidate.java.patch
          0.7 kB
          Gaudin Pierre

        Activity

          People

            jleroux Jacques Le Roux
            gpierre Gaudin Pierre
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: