Project

General

Profile

Actions

Defect #1643

closed

dependency on ruby 1.8.7 introduced in r1660

Added by Peter Van den Bosch over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-07-14
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

A small dependency on ruby 1.8.7 seems to have been introduced in r1660.
Calling the array index function with a block has only been introduced in ruby 1.8.7, making the new menu mapper options incompatible with ruby 1.8.6.

@menu_items.index {|i| i.name == after}

Above code causes following error in ruby 1.8.6:
Redmine/lib/redmine/menu_manager.rb:135:in `index': wrong number of arguments (0 for 1) (ArgumentError)
Actions #1

Updated by Jean-Philippe Lang over 16 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Fixed in r1679.

Actions

Also available in: Atom PDF