Issues

ZF-3297: barcode validation accepts alpha characters - ean 13

Issue Type: Bug Created: 2008-05-20T06:10:09.000+0000 Last Updated: 2008-10-10T14:41:44.000+0000 Status: Resolved Fix version(s): - 1.6.2 (13/Oct/08)

Reporter: Horák Jan (ostghost.com) Assignee: Andries Seutens (andries) Tags: - Zend_Validate

Related issues: Attachments:

Description

<pre class="highlight">
    // 3RH1131-1BB40 isn´t valid ean 13
    
    
    $EAN = new Zend_Validate_Barcode_Ean13();
    
    // return 1
    echo $EAN->isValid('3RH1131-1BB40');
    
    if ($EAN->isValid('3RH1131-1BB40') === true) {
        echo 'bug! ean 13 must contains only digits <a href="http://en.wikipedia.org/wiki/European_Article_Number">http://en.wikipedia.org/wiki/…</a>';
    }

Comments

Posted by Wil Sinclair (wil) on 2008-06-07T21:42:00.000+0000

Please evaluate and fix/categorize as necessary.

Posted by Andries Seutens (andries) on 2008-10-09T11:22:23.000+0000

Fixed in svn r1179

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts