php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55926 Only stable packages can have bugs submitted
Submitted: 2003-11-27 16:04 UTC Modified: 2003-12-05 07:25 UTC
From: php at cipri dot com Assigned: mj (profile)
Status: Closed Package: PECL bug system (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php at cipri dot com
New email:
PHP Version: OS:

 

 [2003-11-27 16:04 UTC] php at cipri dot com
Description:
------------
While this could be by design....
Right now, one's only able to submit bugs for packages which have a stable release. It would be handy of users could submit bugs for non-stable packages too. Otherwise users might resort to posting bugs for an unstable package not at all, or in the wrong place where it won't get fixed at all.

Changing the XML_RPC call in bugtypes.inc from 
package::listAll(); to 
package::listAll(true); should fix the problem I think.

Reproduce code:
---------------
http://pear.php.net/bugs/bug.php?id=307
http://pear.php.net/bugs/bug.php?id=266


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-28 09:07 UTC] mj@php.net
1) package::listAll() is no XML_RPC method. It's defined in pear-database.php.

2) The optional parameter only determines if all packages or just packages with >= 1 release(s) should be listed.

Thus this will not fix the problem. We'll try to find another solution.
 [2003-11-28 09:36 UTC] php at cipri dot com
Yer, correct, bad wording on my side. The ::listAll() function is the same function as that was called via XML_RPC, and that's how I debugged this :)

However, browsing the CVS archive I did find this line of code in the SQL query done by the package::listAll() function: ($released_only is the first argument provided to the function.)

($released_only ? "AND r.state = 'stable' " : "").


This would seem to suggest that only stable state packages are searched, not just those with any releases.
F.I. http://pear.php.net/package/Spreadsheet_Excel_Writer shows this package has released several versions, none of those stable however, and the package doesn't show up on the buglist :)
 [2003-12-05 07:25 UTC] mj@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.

In case this was a pear.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PEAR better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 06 01:01:29 2024 UTC