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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: davey at its-explosive dot net
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 10:01:26 2024 UTC