-
Notifications
You must be signed in to change notification settings - Fork 5
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
ActionController::UrlGenerationError when open Test cases page #1
Comments
I am not a redmine/ruby developer. But I have the feeling, that there is an issue with your project setup. Maybe you need a wiki or your wiki is different than my one. So you could try if it works without wikimodeule. |
This plugin worked on Redmine 3.x version , and after upgrading redmine to 4.x and installing this project (redcase-redmine-4.0.x) the problem appeared. |
One of my pages in Wiki callled Youtube (see error text) and this page contains links. |
Disabling of wiki module helped me, but I cannot use Redmine without it. |
the problem is, that we also shifted from redmine 3 to redmine 4. Redcase didn't work anymore. So we decided to contact a ruby developer, who made us this custom solution, which works fine for us. But I think there is not really somebody who will answer you on the issues. |
And we decided to share the solution, so anybody could try it too. But we can't really fix open issues. I am sorry. |
Thank you for fast response! |
https://bitbucket.org/bugzinga/redcase/pull-requests/56/do-not-crash-on-wiki-links-see-98/diff |
Completed 200 OK in 45ms (Views: 2.0ms | ActiveRecord: 23.4ms)
Completed 500 Internal Server Error in 3363ms (ActiveRecord: 1065.6ms)
ActionController::UrlGenerationError (No route matches {:action=>"show", :controller=>"redcase/wiki", :id=>"YouTube", :parent=>nil, :project_id=>#<Project id: 1, name: "MyProject", description: "Application MyProject", homepage: "", is_public: false, parent_id: nil, created_on: "2013-06-26 10:33:51", updated_on: "2013-06-28 03:23:22", identifier: "myproject", status: 1, lft: 3, rgt: 6, inherit_members: false, default_version_id: nil, easy_baseline_for_id: nil, default_assigned_to_id: nil>, :version=>nil}):
app/helpers/application_helper.rb:922:in
block in parse_wiki_links' app/helpers/application_helper.rb:881:in
gsub!'app/helpers/application_helper.rb:881:in
parse_wiki_links' app/helpers/application_helper.rb:793:in
block (2 levels) in textilizable'app/helpers/application_helper.rb:792:in
each' app/helpers/application_helper.rb:792:in
block in textilizable'app/helpers/application_helper.rb:813:in
parse_non_pre_blocks' app/helpers/application_helper.rb:791:in
textilizable'plugins/redcase/app/models/test_case.rb:126:in
to_json' plugins/redcase/app/models/test_suite.rb:40:in
block in to_json'plugins/redcase/app/models/test_suite.rb:39:in
collect' plugins/redcase/app/models/test_suite.rb:39:in
to_json'plugins/redcase/app/models/test_suite.rb:54:in
block in to_json' plugins/redcase/app/models/test_suite.rb:53:in
collect'plugins/redcase/app/models/test_suite.rb:53:in
to_json' plugins/redcase/app/controllers/redcase/testsuites_controller.rb:10:in
index'lib/redmine/sudo_mode.rb:65:in `sudo_mode'
The text was updated successfully, but these errors were encountered: