Project

General

Profile

Actions

Defect #15105

closed

Redmine::Helpers::Diff missing require

Added by Felix Bünemann about 11 years ago. Updated about 11 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

The lib/redmine/helpers/diff.rb is missing a require 'diff' to load lib/diff.rb so it fails to call diff on an array in inititialize:

>> Redmine::Helpers::Diff.new("foo", "bar")
NoMethodError: undefined method `diff' for ["foo", "bar"]:Array

This can be reproduced by changing the description of an issue and then clicking on the diff link.


Files

redmine_diff_fix.patch (403 Bytes) redmine_diff_fix.patch Fix for missing require Felix Bünemann, 2013-10-10 22:29
Actions

Also available in: Atom PDF