buschmais / redmics

Plug-in for Redmine (http://www.redmine.org/) to export project issues and versions as ICalendar (ICS) files
41 stars 18 forks source link

No issues have been selected #31

Closed farghc closed 8 months ago

farghc commented 3 years ago

Hello, thank you for your very useful plugin. Unfortunately for me it is not working anymore.

Redmine version 4.1.1.stable Ruby version 2.5.5

I get the following log entry when synchronizing the calendar from Thunderbird.

Started GET "/icalendar/test-project/all/issues.ics?key=" for Processing by ICalendarController#index as ICS Parameters: {"key"=>"", "project_id"=>"test_project", "assignment"=>"all"} Current user: test_user (id=5) No issues have been selected. undefined method `delete' for nil:NilClass Rendering text template Rendered text template (0.0ms) Sent data (0.4ms) Completed 200 OK in 22ms (Views: 0.4ms | ActiveRecord: 11.3ms)

Issues should be present with due date set.

Thank you in advance for your support. Best wishes

fs5 commented 3 years ago

The plugin does nowhere call a method "delete" when building the ICS response. The issue might stem from another plugin.

Please provide a stacktrace when your reopen the issue.

Jacq commented 8 months ago

In my case this error raises from the redmineup tags plugin, you can check the source by adding a "raise e" of the exception after these lines:

I am not use to ruby code, nor redmine code but it seems that the culprit is the redmics plugin, settings filters to nil in this line causes further plugins to fail when using the filters list: