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

error in isValidEan util

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment