Project

General

Profile

Actions

Defect #6612

closed

SortHelper missing from CalendarsController

Defect #6612: SortHelper missing from CalendarsController

Added by Felix Schäfer about 16 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Calendar
Target version:
Resolution:
Fixed
Affected version:

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.

Updated by Eric Davis about 16 years ago Actions #1

  • Target version set to 1.0.3

Thanks, I'll fix that.

Updated by Eric Davis about 16 years ago Actions #2

  • 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.

Updated by Mischa The Evil about 16 years ago Actions #3

Eric Davis wrote:

  • Target version set to 1.0.3

Shouldn't this be targetted to 1.1.0?

Updated by Eric Davis about 16 years ago Actions #4

Mischa The Evil wrote:

Shouldn't this be targetted to 1.1.0?

No, CalendarsController was refactored in the 1.0.x branch too.

Updated by Mischa The Evil about 16 years ago Actions #5

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 ;)

Updated by Eric Davis about 16 years ago Actions #6

  • Status changed from Resolved to Closed

Merged into 1.0-stable for release in 1.0.3

Actions

Also available in: PDF Atom