Project

General

Profile

Actions

Defect #1559

closed

r1592 breaks issue view

Added by Jean-Pierre Schober almost 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Custom fields
Target version:
-
Start date:
2008-07-02
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

There is a problem with custom fields:

 NoMethodError in Issues#show

Showing issues/_form_custom_fields.rhtml where line #3 raised:

undefined method `custom_field_values' for #<Issue:0x3992bd8>

Extracted source (around line #3):

1: <div class="splitcontentleft">
2: <% i = 1 %>
3: <% split_on = @issue.custom_field_values.size / 2 %>
4: <% @issue.custom_field_values.each do |value| %>
5:     <p><%= custom_field_tag_with_label :issue, value %></p>
6: <% if i == split_on -%>

Trace of template inclusion: /issues/_form.rhtml, /issues/_edit.rhtml, /issues/show.rhtml

RAILS_ROOT: D:/Dev/InstantRails/rails_apps/Redmine
Application Trace | Framework Trace | Full Trace

D:/Programme (x86)/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/attribute_methods.rb:205:in `method_missing'
app/views/issues/_form_custom_fields.rhtml:3:in `_run_erb_47app47views47issues47_form_custom_fields46rhtml'
app/views/issues/_form.rhtml:45:in `_run_erb_47app47views47issues47_form46rhtml'
app/views/issues/_edit.rhtml:14:in `_run_erb_47app47views47issues47_edit46rhtml'
app/helpers/application_helper.rb:442:in `labelled_tabular_form_for'
app/views/issues/_edit.rhtml:1:in `_run_erb_47app47views47issues47_edit46rhtml'
app/views/issues/show.rhtml:101:in `_run_erb_47app47views47issues47show46rhtml'
app/controllers/issues_controller.rb:107:in `show'
app/controllers/issues_controller.rb:106:in `show'

Actions #1

Updated by Jean-Philippe Lang almost 16 years ago

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

Could not reproduce.
Please make sure you restarted the app after the upgrade.

Actions

Also available in: Atom PDF