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

Bug #17948 multicard test fails
Submitted: 2010-10-11 23:35 UTC
From: remicollet Assigned: remicollet
Status: Closed Package: Validate (version 0.8.4)
PHP Version: 5.3.3 OS: GNU/Linux (Fedora 14)
Roadmaps: (Not assigned)    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 48 - 2 = ?

 
 [2010-10-11 23:35 UTC] remicollet (Remi Collet)
Description: ------------ Reading the code, seems the additionnal Validate class is never include, so it wan't works. The simple attached patch solves this issue, and multicard test succed. Test script: --------------- pear run-tests -p Validate Expected result: ---------------- All tests succeeded Actual result: -------------- multicard test fails with error : "Warning: Invalid validation type Validate_Finance_CreditCard::number in /usr/share/pear/Validate.php on line 1106"

Comments

 [2010-10-11 23:37 UTC] remicollet (Remi Collet)
 [2010-10-12 04:48 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Verified
http://test.pear.php.net:8080/cruisecontrol/buildresults/Validate?tab=testResults Thanks for the patch Remi! This will learn me to do a QA release without checking test results :)
 [2010-10-12 04:51 UTC] doconnor (Daniel O'Connor)
-Status: Verified +Status: Closed -Assigned To: +Assigned To: remicollet
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.