From a8f2e60b710785919bd63c6dcd68b9bc1d6dc073 Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Fri, 18 Mar 2011 13:38:58 +0100 Subject: [PATCH] Fix bug in timemachine page: string measures are not displayed anymore --- .../webapp/WEB-INF/app/controllers/timemachine_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/timemachine_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/timemachine_controller.rb index 82b677a33e6..d2841e7b3d9 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/timemachine_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/timemachine_controller.rb @@ -61,7 +61,7 @@ class TimemachineController < ApplicationController measures.each do |measure| next unless measure.metric - if measure.metric.timemachine? && measure.value + if measure.metric.timemachine? && (measure.value || measure.text_value) row=rows_by_metric_id[measure.metric_id] unless row row=Sonar::TimemachineRow.new(measure.metric) -- 2.39.5