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

Bug #14871 E_NOTICE breaks test (captchanumeral.firstandsecond.phpt)
Submitted: 2008-10-25 09:21 UTC
From: doconnor Assigned: davidc
Status: Closed Package: Text_CAPTCHA_Numeral (version CVS)
PHP Version: 5.2.4 OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


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 : 49 + 19 = ?

 
 [2008-10-25 09:21 UTC] doconnor (Daniel O'Connor)
Description: ------------ Notice: Undefined offset: 2 in /home/clockwerx/pear/Text_CAPTCHA_Numeral/tests/captchanumeral.firstandsecond.php on line 15 Test script: --------------- pear run-tests Expected result: ---------------- Test passes Actual result: -------------- 310) /home/clockwerx/pear/Text_CAPTCHA_Numeral/tests/captchanumeral.firstandsecond.phpt --- Expected +++ Actual @@ -1 +1,2 @@ -Result: PASSED \ No newline at end of file +Notice: Undefined offset: 2 in /home/clockwerx/pear/Text_CAPTCHA_Numeral/tests/captchanumeral.firstandsecond.php on line 15 +Result: FAILED \ No newline at end of file

Comments

 [2009-01-18 21:54 UTC] doconnor (Daniel O'Connor)
Odd: It works when I run it by hand 99% of the time. I've thrown in a var_dump() to see what happens when it fails that 1% of the time
 [2010-03-01 17:36 UTC] doconnor (Daniel O'Connor)
Well, frustratingly, it looks like trunk is currently broken.
 [2010-04-16 18:15 UTC] davidc (David Coallier)
-Status: Assigned +Status: Closed
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.