[jira] [Updated] (OFBIZ-6624) error in isValidEan util

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-6624) error in isValidEan util

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-6624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gaudin Pierre updated OFBIZ-6624:
---------------------------------
    Attachment: UtilValidate.java.patch

> error in isValidEan util
> ------------------------
>
>                 Key: OFBIZ-6624
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6624
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 14.12
>            Reporter: Gaudin Pierre
>         Attachments: UtilValidate.java.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)