Routing issue with Redmine icalender export plugin

Added by Mischa The Evil about 4 years ago

From #14585:

Piyush Singhal wrote:

I am trying to install Redmine ICalendar Export Plugin( and this plugin require icalendar, I tried to install it using "gem install icalendar" . But after installation calender part stopped working and showing error "Internal error An error occurred on the page you were trying to access."

In the log file I am getting following error:

ActionView::TemplateError (No route matches {:action=>"index", :status=>"all", :controller=>"calendar", :assigned_to=>"*", :format=>"atom", :project_id=>#<Project id: 3, name: "test project", description: "", homepage: "", is_public: true, parent_id: nil, created_on: "2013-01-08 06:03:05", updated_on: "2013-02-16 04:02:42", identifier: "testproject", status: 1, lft: 5, rgt: 6>, :key=>"268944ce53edddhsjhhgyuh57678dff5f3a0db719323c"}) on line #5 of vendor/plugins/redmine_icalendar_export-master/app/views/hooks/redmine_icalendar_export/_view_calendars_show_bottom.html.erb:

Supposing you are using Redmine 2.3, I'd say you need to checkout the 2.3-upgrade branch of the plugin (which is now located at instead of master of the old plugin's location at

Replies (2)

RE: Routing issue with Redmine icalender export plugin - Added by Cédric BETHENCOURT about 4 years ago


I got the same error even with

Here is what I did:

redmine# gem install icalendar
redmine/plugins# git clone redmine_icalendar_export-2.3
redmine# patch app/views/calendars/show.html.erb < plugins/redmine_icalendar_export/extra/view_calendars_show_bottom_hook.patch

and I got this error:

Started GET "/issues/calendar" for x.x.x.x at Tue Aug 06 16:10:08 +0200 2013
Processing by CalendarsController#show as HTML
  Current user: xxxxxx (id=x)
  Rendered queries/_filters.html.erb (20.7ms)
  Rendered common/_calendar.html.erb (8.4ms)
  Rendered plugins/redmine_icalendar_export/app/views/hooks/redmine_icalendar_export/_view_calendars_show_bottom.html.erb (2.3ms)
  Rendered calendars/show.html.erb within layouts/base (35.7ms)
Completed 500 Internal Server Error in 146ms

ActionController::RoutingError (No route matches {:status=>"all", :project_id=>nil, :assigned_to=>"*", :format=>"atom", :controller=>"i_calendar", :key=>"9993f40ae95d95bc48f7b4d16b91c83936aea978"}):
  lib/redmine/views/other_formats_builder.rb:29:in `link_to'
  app/helpers/application_helper.rb:469:in `other_formats_links'
  lib/redmine/hook.rb:111:in `send'
  lib/redmine/hook.rb:111:in `view_calendars_show_bottom'
  lib/redmine/hook.rb:61:in `send'
  lib/redmine/hook.rb:61:in `call_hook'
  lib/redmine/hook.rb:61:in `each'
  lib/redmine/hook.rb:61:in `call_hook'
  lib/redmine/hook.rb:58:in `tap'
  lib/redmine/hook.rb:58:in `call_hook'
  lib/redmine/hook.rb:158:in `call_hook'
  app/views/calendars/show.html.erb:32:in `_app_views_calendars_show_html_erb___553295471__631000228'

Thanks for your help.