ActionView::TemplateError (No route matches... with Redmine 1.4.1 #1

Open
themel opened this Issue Jun 13, 2012 · 0 comments

Comments

Projects
None yet
1 participant

themel commented Jun 13, 2012

Hi,

can't get this to work with Redmine 1.4.1, trying to view a calendar fails with the following log entry:

ActionView::TemplateError (No route matches {:status=>"all", :project_id=>#<Project id: 1, name: "AProject", description: "...", homepage: "", is_public: true, parent_id: 6, created_on: "2012-05-11 15:52:10", updated_on: "2012-05-22 16:10:08", identifier: "...", status: 1, lft: 18, rgt: 19>, :controller=>"i_calendar", :format=>"atom", :key=>"....", :assigned_to=>"*", :action=>"index"}) on line #3 of vendor/plugins/planio-redmine_icalendar_export-0c4e2ed/app/views/hooks/redmine_icalendar_export/_view_calendars_show_bottom.html.erb:
1: <% if User.current.allowed_to?(:view_calendar, @project, :global => true)%>
2:  <% other_formats_links do |f| %>
3:      <%= f.link_to 'ICS', :url => { :status => 'all',  :assigned_to => '*', :controller => 'i_calendar', :action => 'index', :project_id => @project, :key => User.current.rss_key, :format => 'atom' } %>
4:  <% end %>
5: <% end %>

    lib/redmine/views/other_formats_builder.rb:29:in `link_to'
    vendor/plugins/planio-redmine_icalendar_export-0c4e2ed/app/views/hooks/redmine_icalendar_export/_view_calendars_show_bottom.html.erb:3
    app/helpers/application_helper.rb:438:in `other_formats_links'
    vendor/plugins/planio-redmine_icalendar_export-0c4e2ed/app/views/hooks/redmine_icalendar_export/_view_calendars_show_bottom.html.erb:2
    lib/redmine/hook.rb:113:in `send'
    lib/redmine/hook.rb:113:in `view_calendars_show_bottom'
    lib/redmine/hook.rb:63:in `send'
    lib/redmine/hook.rb:63:in `call_hook'
    lib/redmine/hook.rb:63:in `each'
    lib/redmine/hook.rb:63:in `call_hook'
    lib/redmine/hook.rb:60:in `tap'
    lib/redmine/hook.rb:60:in `call_hook'
    lib/redmine/hook.rb:146:in `call_hook'
    app/views/calendars/show.html.erb:30
    config/initializers/mongrel.rb:62:in `dispatch_cgi'

Rendering D:/Redmine/redmine-1.4.1/public/500.html (500 Internal Server Error)

Ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment