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

Bug #6051 PEAR no longer listed as a package in PEAR 1.4.5
Submitted: 2005-11-23 15:21 UTC
From: atex Assigned: fa
Status: Closed Package: PEAR_Info
PHP Version: 5.0.5 OS: Mandriva Linux 10.2/2.6.11
Roadmaps: (Not assigned)    
Subscription  


 [2005-11-23 15:21 UTC] atex
Description: ------------ Previous to PEAR 1.4.5, PEAR_Info would list 'PEAR' as a package in the list of PEAR packages with all its information and the option to see if there was a new version. After installing PEAR_Info 1.6.0 and testing it on PEAR 1.4.2, this worked fine. When I upgraded to PEAR 1.4.5, however, 'PEAR' no longer shows up. Test script: --------------- The test script is test/pear_info.php that comes with PEAR_Info. In looking into the code, the point where 'PEAR' seems to be removed from the list is in the test on line 153: if (strlen($installed['package']) > 1) { This seems to fail for the 'pear' package name since the 'package' attribute is NULL for that package in PEAR 1.4.5. Expected result: ---------------- The 'PEAR' package should be listed with all the other packages. Actual result: -------------- The 'PEAR' package is omitted from the package list.

Comments

 [2006-02-25 23:46 UTC] fa
This bug has been fixed in CVS. 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.