Actions
Defect #1643
closeddependency on ruby 1.8.7 introduced in r1660
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)
Updated by Jean-Philippe Lang over 16 years ago
- Status changed from New to Closed
- Resolution set to Fixed
Fixed in r1679.
Actions