Skip to content
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

A bunch of commits to keep this plugin compatible with Redmine 4.x #245

Open
wants to merge 93 commits into
base: master
Choose a base branch
from

Conversation

fabricerobin
Copy link

No description provided.

Fabrice Robin and others added 30 commits May 26, 2015 16:23
fixes #16930 :Le test n'est pas affiché avec la bonne balise html dans la fiche du defect



See merge request !1
… comme passage à la ligne dans le résumé sur la page.
fixes #16621 :Le passage à la ligne dans une étape n'est pas affichée comme pass…

…age à la ligne dans le résumé sur la page.

See merge request !2
@rohithn
Copy link

rohithn commented Apr 1, 2018

Hi I am using redmine 3.4.0, but when I try to add a Test Case, I get an internal server error with the folowing error:

Started GET "/projects/test/impasse/test_case" for 127.0.0.1 at 2018-04-01 10:46:36 +0530
Processing by ImpasseTestCaseController#index as HTML
  Parameters: {"project_id"=>"test"}
  Current user: admin (id=1)
  Rendered plugins/redmine_impasse/app/views/impasse_test_case/index.html.erb within layouts/base (19.4ms)
Completed 200 OK in 86ms (Views: 59.8ms | ActiveRecord: 11.2ms)
Started GET "/projects/test/impasse/test_case/keywords" for 127.0.0.1 at 2018-04-01 10:46:37 +0530
Processing by ImpasseTestCaseController#keywords as JSON
  Parameters: {"project_id"=>"test"}
  Current user: admin (id=1)
Completed 200 OK in 20ms (Views: 0.3ms | ActiveRecord: 4.9ms)
Started GET "/projects/test/impasse/test_case/list?prefix=node&node_id=-1" for 127.0.0.1 at 2018-04-01 10:46:37 +0530
Processing by ImpasseTestCaseController#list as JSON
  Parameters: {"prefix"=>"node", "node_id"=>"-1", "project_id"=>"test"}
  Current user: admin (id=1)
Completed 500 Internal Server Error in 26ms (ActiveRecord: 7.7ms)

NoMethodError (undefined method `to_i' for true:TrueClass):
  plugins/redmine_impasse/app/models/impasse/node.rb:43:in `active?'
  plugins/redmine_impasse/app/controllers/impasse_test_case_controller.rb:401:in `block in convert'
  plugins/redmine_impasse/app/controllers/impasse_test_case_controller.rb:393:in `each'
  plugins/redmine_impasse/app/controllers/impasse_test_case_controller.rb:393:in `convert'
  plugins/redmine_impasse/app/controllers/impasse_test_case_controller.rb:36:in `list'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

How do I fix this?

@fabricerobin
Copy link
Author

fabricerobin commented Apr 9, 2018 via email

@fabricerobin fabricerobin changed the title A bunch of commits to keep this plugin compatible with Redmine 3.x A bunch of commits to keep this plugin compatible with Redmine 4.x Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants