-
Notifications
You must be signed in to change notification settings - Fork 99
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
test cases erased appearing in test plans #238
Comments
Hi, No way to upload solution now, but I think I've got it. Say something tomorrow. Regards, El 27/05/2014, a las 20:11, paulotortorelli [email protected] escribió:
|
thank you :) |
Hi, Paulo, Here's what we did (it also solves problem when trying to use _show_detail.test_project.html.erb): Change line 22 in redmine_impasse/app/views/impasse_test_case/_show.html.erb to:
Change line 329 in redmine_impasse/app/controllers/impasse_test_case_controller.rb to:
Add new line just after 331:
I think it may be OK. Would you mind to tell me something when you try it, please? ;-) Regards, |
Hi, Paulo, Can't answer directly to your last comment as I don't find it. Be careful: I've updated my comment just after writing it. Lines 329 and 331 are from redmine_impasse/app/controllers/impasse_test_case_controller.rb. And that's the main part of the solution, if I remember well. Regards, |
sorry! I ended up deleting the message: ( impasse_test_case_controller.rb my file is a little different, Your Line 329 corresponds to my 355. What is the piece of code to add the new line? def copy_node(original_node, parent_id, level=0)
end |
Just add the line before the else. This way:
|
I changed the lines and did not work. cases of deleted test will reappear when dragging the suite |
Hello, I managed to solve the problem by adding the condition "AND tc.active = 1" after "ON child.id = tc.id" in lines 59 and 138. Works with mysql base without problems :) But with the base sql server, I have problems to assign the user to the test case :( |
Hello,
I noticed that when a test case is deleted from the project root, what happens is an update of the active field that receives the value "0". But these test cases continue to appear in the test plans that had already been allocated. I know it's possible to remove them from these plans, but if we drag a suite again to plan, test cases deleted will reappear.
Anyone have any solution?
Thank you :D
The text was updated successfully, but these errors were encountered: