Control charts failure with null valued tests

Issue #506 resolved
Randle Taylor created an issue

If a test only had skipped results there is a 500 generated:

File "django/views/generic/base.py", line 68, in view
    return self.dispatch(request, *args, **kwargs)
  File "braces/views/_access.py", line 211, in dispatch
    request, *args, **kwargs)
  File "django/views/generic/base.py", line 88, in dispatch
    return handler(request, *args, **kwargs)
  File "qatrack/qa/views/charts.py", line 211, in get
    resp = self.render_to_response({'success': True, "plot_data": self.plot_data, "headers": headers, "rows": rows})
  File "qatrack/qa/views/charts.py", line 564, in render_to_response
    dates, data = list(zip(*[(ti["date"], ti["value"]) for ti in points if ti['value'] is not None]))

Comments (1)

  1. Log in to comment