-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error for any project v.1.3.0 #4
Comments
Did you use my develop branch? SELECT * 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'))))) |
Please post results as csv file attachment from the sql query result on your database SELECT * 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'))))) |
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'
The text was updated successfully, but these errors were encountered: