500 error when graph has no data and 2 Y axes
Bug #891301 reported by
Darrell Bishop
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Graphite |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In graphite-web-0.9.9, if you have a graph with 2 Y axes but no data in your metrics, you get an exception. The root cause is a typo (see attached patch). A variable assignment which should have been "yMinValueL = 0.0" was "yMinValue = 0.0". This resulted in yMinValueL being None later which threw an exception when used in subtraction with a float.
Changed in graphite: | |
milestone: | none → 0.9.10 |
Changed in graphite: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I did not add it, but this is currently applied to trunk. Moving to 'Fix Committed'