-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Hi.
After install the version 1.3.0 my plugin shows this error for any project.
Started GET "/redhomolog/projects/sisloc/impasse/test_case" for 192.168.16.161 at 2013-10-10 07:44:58 -0300
Processing by ImpasseTestCaseController#index as HTML
Parameters: {"project_id"=>"projeto"}
Rendered plugins/redmine_impasse/app/views/impasse_test_case/index.html.erb within layouts/base (28.8ms)
Completed 500 Internal Server Error in 40ms
ActionView::Template::Error (Mysql2::Error: Subquery returns more than 1 row: SELECT count(status) FROM impasse_executions WHERE test_plan_case_id IN (SELECT id FROM impasse_test_plan_cases WHERE test_plan_id IN(SELECT id FROM impasse_test_plans WHERE name = 'Plano de Qualidade Padrão' AND version_id = ((SELECT id FROM versions WHERE name = 'projeto'))))):
145: 




146: <% plans[version].each do |test_plan| %>
147:
148: <% total, ok, fail, proc, undone = Impasse::TestPlan.get_statistics_for_plan(version.name,test_plan.name) %>
149: <%= link_to test_plan.name, :controller=>:impasse_test_plans, :action=>:show, :project_id=>@project, :id=>test_plan%><%= total%><%= ok%><%= fail%><%= proc%><%= undone%>
150:
151: <% end %>
app/helpers/application_helper.rb:1117:in `content_for'