500 error when graph has no data and 2 Y axes

Bug #891301 reported by Darrell Bishop
6
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.

Revision history for this message
Darrell Bishop (darrellb) wrote :
Revision history for this message
Nicholas Leskiw (nleskiw) wrote :

I did not add it, but this is currently applied to trunk. Moving to 'Fix Committed'

Changed in graphite:
status: New → Fix Committed
Changed in graphite:
milestone: none → 0.9.10
Changed in graphite:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.