Defect #17280

Display for relases failed

Added by florent THOMAS about 8 years ago. Updated about 8 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution:Invalid Affected version:2.3.2

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'

History

#1 Updated by Toshi MARUYAMA about 8 years ago

  • Category deleted (Plugin Request)
  • Status changed from New to Closed
  • Resolution set to Invalid

Please contact redmine_release_notes plugin author.

Also available in: Atom PDF