Project

General

Profile

Actions

Defect #17280

closed

Display for relases failed

Added by florent THOMAS over 10 years ago. Updated over 10 years ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hy,

I have multiple projects with multiples releases. Some are working fine, others for a specific project are throwing a 500 Error :

Processing by VersionsController#show as HTML
  Parameters: {"id"=>"7"}
  Current user: FThomas (id=6)
  Rendered versions/_overview.html.erb (10.5ms)
  Rendered versions/_issue_counts.html.erb (3.0ms)
  Rendered plugins/redmine_release_notes/app/views/release_notes/_dashboard.html.erb (18.0ms)
  Rendered plugins/redmine_release_notes/app/views/hooks/release_notes/_version_show_bottom.html.erb (18.2ms)
  Rendered versions/show.html.erb within layouts/base (53.1ms)
Completed 500 Internal Server Error in 75ms

ActionView::Template::Error (undefined method `name' for nil:NilClass):
    1: <% stats = version.release_notes_stats %>
    2: <% cf_none_value =  Setting.plugin_redmine_release_notes[:field_value_not_required] %>
    3: <% cf_name = CustomField.find_by_id(Setting.plugin_redmine_release_notes[:issue_custom_field_id]).name %> 
    4: 
    5: <fieldset id="release-notes-completion">
    6:   <legend><%= l('release_notes.progress') %></legend>
  lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
  lib/redmine/hook.rb:61:in `each'
  lib/redmine/hook.rb:61:in `block in call_hook'
  lib/redmine/hook.rb:58:in `tap'
  lib/redmine/hook.rb:58:in `call_hook'
  lib/redmine/hook.rb:158:in `call_hook'
  app/views/versions/show.html.erb:52:in `_app_views_versions_show_html_erb__1858339269785846999_70195941399400'

Actions

Also available in: Atom PDF