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

Bug #11336 REST 1.0 - 1.1 inconcistency
Submitted: 2007-06-17 12:12 UTC
From: tias Assigned: tias
Status: Closed Package: PEAR (version 1.6.0)
PHP Version: Irrelevant OS:
Roadmaps: 1.6.1    
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 : 18 - 9 = ?

 
 [2007-06-17 12:12 UTC] tias (Tias Guns)
Description: ------------ The REST function that lists the packages in a category, is in REST1.0: listCategory() and in REST1.1: listPackagesInCategory() They should have the same name. --- 11_orig.php 2007-06-17 13:46:19.000000000 +0200 +++ 11.php 2007-06-17 13:46:31.000000000 +0200 @@ -227,9 +227,9 @@ * @param string $category name of the category * @param boolean $info also download full package info * @return array of packagenames */ - function listPackagesInCategory($base, $category, $info=false) + function listCategory($base, $category, $info=false) { if ($info == false) { $url = '%s'.'c/%s/packages.xml'; } else {

Comments

 [2007-06-19 04:31 UTC] cellog (Greg Beaver)
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.