Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.8.5

Bug #2879 Issn wrong validation
Submitted: 2004-12-03 05:15 UTC Modified: 2005-01-17 21:20 UTC
From: antonio at c17 dot net Assigned: dufuz
Status: Closed Package: Validate
PHP Version: 4.2.1 OS: GNU/Linux Debian Woody 3.0
Roadmaps: (Not assigned)    
Subscription  


 [2004-12-03 05:15 UTC] antonio at c17 dot net
Description: ------------ The method for validate Issn numbers fails when the last position is a 0. You can try it with 0366-3590 0004-6620 0394-6320 0395-7500 All theese numbers are registered at issn.org

Comments

 [2004-12-03 16:05 UTC] dufuz
I've been looking at issn.org now, and it seems there shouldn't be done substraction if the number we get out of the divide is the same as the control digit. Go to http://www.issn.org:8080/English/pub/faqs/issn/issnchecking and test using 0317-8471 and 0366-3590, and see how they do it, they skip the subtraction on the later one. Hope this is good enough pointer for Pierre or any developer on Validate to fix this problem :)
 [2005-01-17 21:20 UTC] dufuz
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.