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

Bug #16864 "pear list-upgrades -i" issues E_WARNINGS
Submitted: 2009-12-02 20:12 UTC
From: rquadling Assigned: dufuz
Status: Closed Package: PEAR (version 1.9.0)
PHP Version: 5.3.1 OS: Windows XP SP3
Roadmaps: (Not assigned)    
Subscription  


 [2009-12-02 20:12 UTC] rquadling (Richard Quadling)
Description: ------------ Several warnings are issued when there are no upgrades available and -i is issued and no mention of "no upgrades available". Test script: --------------- pear list-upgrades -i Expected result: ---------------- PEAR.PHP.NET AVAILABLE UPGRADES (STABLE): ========================================= (no upgrades available) PEAR.PHPUNIT.DE AVAILABLE UPGRADES (STABLE): ============================================ (no upgrades available) Actual result: -------------- Warning: Invalid argument supplied for foreach() in PEAR\Frontend\CLI.php on line 515 Warning: Invalid argument supplied for foreach() in C:\PHP5\PEAR\PEAR\Frontend\CLI.php on line 515 PEAR.PHP.NET AVAILABLE UPGRADES (STABLE): ========================================= Warning: Invalid argument supplied for foreach() in PEAR\Frontend\CLI.php on line 515 Warning: Invalid argument supplied for foreach() in C:\PHP5\PEAR\PEAR\Frontend\CLI.php on line 515 PEAR.PHPUNIT.DE AVAILABLE UPGRADES (STABLE): ============================================

Comments

 [2009-12-02 20:13 UTC] rquadling (Richard Quadling)
 [2009-12-08 18:49 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Analyzed
LGTM
 [2010-03-27 21:12 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Status: Analyzed +Status: Closed -Assigned To: +Assigned To: dufuz
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. Thanks for the patch! :-)