Defect #6612
closed
SortHelper missing from CalendarsController
Added by Felix Schäfer over 15 years ago.
Updated over 15 years ago.
Description
I just tried to show a calendar with a custom query, so something like: http://my.redmi.ne/issues/calendar?query_id=13, which causes redmine to quit on a:
NameError (undefined local variable or method `sort_clear' for #<CalendarsController:0x7f4400887b10>):
app/helpers/queries_helper.rb:75:in `retrieve_query'
app/controllers/calendars_controller.rb:23:in `show'
The solution is to include SortHelper in CalendarsController.
- Target version set to 1.0.3
- Category set to Calendar
- Status changed from New to Resolved
- % Done changed from 0 to 100
- Resolution set to Fixed
Fixed in r4245 and added a test case.
Eric Davis wrote:
- Target version set to 1.0.3
Shouldn't this be targetted to 1.1.0?
Mischa The Evil wrote:
Shouldn't this be targetted to 1.1.0?
No, CalendarsController was refactored in the 1.0.x branch too.
Eric Davis wrote:
Mischa The Evil wrote:
Shouldn't this be targetted to 1.1.0?
No, CalendarsController was refactored in the 1.0.x branch too.
ACK ;)
- Status changed from Resolved to Closed
Merged into 1.0-stable for release in 1.0.3
Also available in: Atom
PDF