Actions
Defect #10254
closedIssues page links from the menu
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Cant reproduce
Affected version:
Description
Hi,
I've (almost) set up the Redmine application on my server but i have a little issue about the page "issues".
The link from the menu is:
http://redmine.site.net/issues?project_id=my_project_id
This leads to a page error 500
But it should be:
http://redmine.site.net/projects/my_project_id/issues
Which is working
Same thing happens in the New issue form.
<form action="/issues?project_id=my_project_id" class="tabular new-issue-form" enctype="multipart/form-data" id="issue-form" method="post">...</form>
Which prevents me from creating new bug.
Here is the error log:
Processing IssuesController#index (for XXX.XXX.XXX.XXX at 2012-02-16 13:45:12) [GET] Parameters: {"project_id"=>"my_project_id", "action"=>"index", "controller"=>"issues"} Rendering template within layouts/base Rendering issues/index ActionView::TemplateError (new_project_query_url failed to generate from {:controller=>"queries", :action=>"new"} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: ["projects", :project_id, "queries", "new"] - are they all satisfied?) on line #41 of app/views/issues/index.html.erb: 38: <%= link_to_function l(:button_apply), 'submit_query_form("query_form")', :class => 'icon icon-checked' %> 39: <%= link_to l(:button_clear), { :set_filter => 1, :project_id => @project }, :class => 'icon icon-reload' %> 40: <% if @query.new_record? && User.current.allowed_to?(:save_queries, @project, :global => true) %> 41: <%= link_to_function l(:button_save), "$('query_form').action='#{ @project ? new_project_query_path : new_query_path }'; submit_query_form('query_form')", :class => 'icon icon-save' %> 42: <% end %> 43: </p> 44: <% end %> (eval):21:in `new_project_query_path' app/views/issues/index.html.erb:41 app/views/issues/index.html.erb:11 app/controllers/issues_controller.rb:92:in `index' app/controllers/issues_controller.rb:91:in `index' config/initializers/mongrel.rb:63:in `dispatch_cgi' Rendering /home/my_user/rails_apps/redmine/public/500.html (500 Internal Server Error)
And finally, here are the versions list:
# RAILS_ENV=production ruby script/about About your application's environment Ruby version 1.8.7 (x86_64-linux) RubyGems version 1.6.2 Rack version 1.1.3 Rails version 2.3.14 Active Record version 2.3.14 Active Resource version 2.3.14 Action Mailer version 2.3.14 Active Support version 2.3.14 Edge Rails revision unknown Application root /home/my_user/rails_apps/redmine Environment production Database adapter mysql Database schema version 20110902000000
If anyone can point me in a direction to solve this, it will be very appreciated.
Thanks.
Actions