php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23481 PEAR Web Graphing Problem
Submitted: 2003-05-04 18:14 UTC Modified: 2003-05-10 10:56 UTC
From: davey at its-explosive dot net Assigned: mj (profile)
Status: Closed Package: PEAR related
PHP Version: 4.3.2RC2 OS: n/a
Private report: No CVE-ID: None
View Add Comment Developer Edit
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:
39 - 30 = ?
Subscribe to this entry?

 
 [2003-05-04 18:14 UTC] davey at its-explosive dot net
The graphing feature on the package stats page is exhibiting unexpected behaviour.

To reproduce go to:

http://pear.php.net/package-stats.php?pid=195&rid=&cid=19

and try to add an item to the graph, i.e. release 1.0.1 in green, the form submits and goes to the overall stats page.

- Davey

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-05 01:32 UTC] arnaud@php.net
looks fine here. Or i didn't get  it right ?
 [2003-05-06 09:38 UTC] arnaud@php.net
Can you please be more precise and put some screenshots online somewhere ?
 [2003-05-06 15:30 UTC] davey at pixelated-dreams dot com
OK, I've narrowed the problem down, its when JS is not enabled. Turn JS off and follow whats below:

Go to:
http://pear.php.net/package-stats.php?pid=195&rid=&cid=19

At the bottom where theres a form, titled 'Show Graph Of'

There is two select boxes, one titles 'Release' the other titled 'Color'. Select '1.0.1' from the first, and 'Green' from the second, and click the 'Add' submit button.

When you do this, it goes to http://pear.php.net/package-stats.php?graph_list=581_000000&releases=581&colours=000000&add=Add

which is quite clearly wrong. Seems you need to catch that GET data and put it into the select box like when JS does it.

- Davey
 [2003-05-07 02:07 UTC] arnaud@php.net
Indeed it does that. That's for you martin ;)
 [2003-05-10 10:56 UTC] mj@php.net
This bug has been fixed.

The changes will be online as soon as the auto-update for pear.php.net has finished (~ 1 hour from now).
 [2014-02-28 17:16 UTC] dsp@php.net
Automatic comment on behalf of mj
Revision: http://git.php.net/?p=web/pecl.git;a=commit;h=32794cd828d203dce9fe05a30758f9698aaeac0a
Log: * More or less ugly hack to fix bug #23481.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Dec 08 22:03:36 2021 UTC