View Issue Details

IDProjectCategoryView StatusLast Update
0010694mantisbtreportspublic2011-09-08 03:01
Reporterthraxisp Assigned Tothraxisp  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.0rc1 
Target Version1.2.0rc2Fixed in Version1.2.0rc2 
Summary0010694: graph by category broken
Description

The graph by category was broken in 1.2.

1) the category column is gone from the database, replaced by the category_id column. The bug_history_table was never updated.

2) the graph hangs on large datasets as it is parsing the history.

TagsNo tags attached.

Relationships

related to 0010706 closedthraxisp Graphs Plugin: Unable to read/find font 

Activities

beyonlo

beyonlo

2009-07-08 07:42

reporter   ~0022444

About "2) the graph hangs on large datasets as it is parsing the history."

This is not the problem, because I have here a clear database and graph by category not works.

Confirmation: All other graphs works, only "per category" not works.

grangeway

grangeway

2009-07-08 14:05

reporter   ~0022451

Glenn,

If you let me know your large data sets part, I can probably run xdebug and friends on it to work out what loops are causing grief

Paul

thraxisp

thraxisp

2009-07-14 20:54

reporter   ~0022498

fixed in both branches.

The problem was that these routines were not fully converted to match the change from category to category_id.

Related Changesets

MantisBT: master-1.2.x f07480d8

2009-07-14 20:36

Glenn Henshaw


Details Diff
fixed bug 0010694: graph by category broken
- select bug category by id and use bug history referencing
category field in bug_graph_bycategory.
- fix mapping of category_id in category summary graph

fixed presentation of dates in graph data tables
- use config variable "date_short_format"

fixed setting of alternate font paths in jpgraph
- jpgraph will set a constant on first incluse of the class. After
this, the path can't be changed. Moved this setting to the includes.
Affected Issues
0010694
mod - plugins/MantisGraph/pages/bug_graph_bycategory.php Diff File
mod - plugins/MantisGraph/pages/bug_graph_bystatus.php Diff File
mod - plugins/MantisGraph/core/graph_api.php Diff File

MantisBT: master 74a10572

2009-07-14 20:36

Glenn Henshaw


Details Diff
fixed bug 0010694: graph by category broken
- select bug category by id and use bug history referencing
category field in bug_graph_bycategory.
- fix mapping of category_id in category summary graph

fixed presentation of dates in graph data tables
- use config variable "date_short_format"

fixed setting of alternate font paths in jpgraph
- jpgraph will set a constant on first incluse of the class. After
this, the path can't be changed. Moved this setting to the includes.
Affected Issues
0010694
mod - plugins/MantisGraph/pages/bug_graph_bycategory.php Diff File
mod - plugins/MantisGraph/pages/bug_graph_bystatus.php Diff File
mod - plugins/MantisGraph/core/graph_api.php Diff File