Actions
Defect #13644
closedDiff - Internal Error
Defect #13644:
Diff - Internal Error
Resolution:
Fixed
Affected version:
Description
Received error 500 attempting to view diff. I attached the files being compared.
An ActionView::Template::Error occurred in repositories#diff: undefined method `ord' for nil:NilClass lib/redmine/unified_diff.rb:209:in `offsets'
Partial Trace:
lib/redmine/unified_diff.rb:209:in `offsets' lib/redmine/unified_diff.rb:187:in `write_offsets' lib/redmine/unified_diff.rb:184:in `times' lib/redmine/unified_diff.rb:184:in `write_offsets' lib/redmine/unified_diff.rb:163:in `parse_line' lib/redmine/unified_diff.rb:85:in `add_line' lib/redmine/unified_diff.rb:33:in `initialize' lib/redmine/unified_diff.rb:31:in `each' lib/redmine/unified_diff.rb:31:in `initialize' app/views/common/_diff.html.erb:1:in `new' app/views/common/_diff.html.erb:1:in `_app_views_common__diff_html_erb__374540104_111303620' actionpack (3.2.13) lib/action_view/template.rb:145:in `send' actionpack (3.2.13) lib/action_view/template.rb:145:in `render'
Environment:
Files
Actions