commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (VALIDATOR-346) SedolCheckDigit fails to reject invalid (non-numeric) check digits
Date Thu, 01 Jan 2015 16:45:13 GMT

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

Benedikt Ritter resolved VALIDATOR-346.
---------------------------------------
    Resolution: Fixed

Fix applied in r1648878.

{code}
$ svn ci -m "VALIDATOR-346: SedolCheckDigit fails to reject invalid (non-numeric) check digits.
Fix implemented by Sebb."
Sending        src/changes/changes.xml
Sending        src/main/java/org/apache/commons/validator/routines/checkdigit/SedolCheckDigit.java
Sending        src/test/java/org/apache/commons/validator/routines/checkdigit/SedolCheckDigitTest.java
Transmitting file data ...
Committed revision 1648878.
{code}

> SedolCheckDigit fails to reject invalid (non-numeric) check digits
> ------------------------------------------------------------------
>
>                 Key: VALIDATOR-346
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-346
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: Routines
>    Affects Versions: 1.4.0 Release
>            Reporter: Sebb
>            Assignee: Benedikt Ritter
>             Fix For: 1.4.1
>
>         Attachments: VALIDATOR-346.patch
>
>
> The SedolCheckDigit class fails to check that the check digit is actually a digit; it
currently also allows some alphabetics.
> As a side effect of this, it treats some letters as being valid checkdigits when they
should be rejected.
> Patch to follow



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

Mime
View raw message