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

Bug #17834 Pyrus: PHP Notice: Undefined variable: package
Submitted: 2010-08-31 17:53 UTC
From: doconnor Assigned: doconnor
Status: Closed Package: PEAR (version SVN)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2010-08-31 17:53 UTC] doconnor (Daniel O'Connor)
Description: ------------ PHP Notice: Undefined variable: package in /home/clockwerx/.pear/php/PEAR2/Pyrus/Developer/PackageFile/Commands.php on line 161 Test script: --------------- Build a package with a package 1.0 and no package 2.0; like XML_svg2image: http://test.pear.php.net:8080/cruisecontrol/buildresults/XML_svg2image Expected result: ---------------- Meaningful error Actual result: -------------- The exception is caught, and swallowed.

Comments

 [2010-08-31 17:54 UTC] doconnor (Daniel O'Connor)
 [2010-08-31 17:55 UTC] doconnor (Daniel O'Connor)
Attached patch rethrows original exception if it does not appear the code can recover from it.
 [2010-08-31 17:55 UTC] doconnor (Daniel O'Connor)
-Assigned To: +Assigned To: saltybeagle
 [2010-09-09 03:18 UTC] doconnor (Daniel O'Connor)
-Status: Assigned +Status: Closed -Assigned To: saltybeagle +Assigned To: doconnor
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.