Project

General

Profile

Actions

Defect #6459

closed

Unhandled exception on when accessing issues feed where issues have custom fields

Added by Jan from Planio www.plan.io over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Feeds
Target version:
-
Start date:
2010-09-21
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

The issues feed is broken in cases where there are custom fields defined.

Error:

ActionView::TemplateError: undefined method `format_value' for #<ActionView::Base:0x7aa4d88>

Relevant backtrace:

--- 
- "On line #23 of app/views/journals/index.rxml" 
- "20:       xml.content \"type\" => \"html\" do" 
- "21:         xml.text! '<ul>'" 
- "22:         change.details.each do |detail|" 
- "23:           xml.text! '<li>' + show_detail(detail, false) + '</li>'" 
- "24:         end" 
- "25:         xml.text! '</ul>'" 
- "26:         xml.text! textilizable(change, :notes, :only_path => false) unless change.notes.blank?" 
- app/helpers/issues_helper.rb:134:in `show_detail'

A patch is attached. Please check and commit.


Files

issues_helper.patch (329 Bytes) issues_helper.patch Jan from Planio www.plan.io, 2010-09-21 19:25
Actions #1

Updated by Jan from Planio www.plan.io over 13 years ago

this is an easy one, would be great if it made it into 1.0.2

Actions #2

Updated by Eric Davis over 13 years ago

  • Status changed from New to Closed
  • Resolution set to Cant reproduce

I can't reproduce this. Can you post the full stacktrace with the params used or include a failing test in your patch?

Actions

Also available in: Atom PDF