Actions
Defect #20463
closedInternal error when moving an issue to a project without selected trackers and active issue tracking
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Circumstances:
- Project hierarchy:
PR1 (with issue tracking enabled and activated several trackers) PR1_C1 (with issue tracking enabled and none trackers activated)
- Issue, defined in PR1, assigned a tracker
- Move the issue from PR1 to PR1_C1.
Result:
Internal error.
Started PUT "/issues/2885" for 192.168.xxx.xxx at 2015-07-30 12:40:54 +0300 Processing by IssuesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"9bqERxUbYbjA8eewrwerwwefH6kQGImlUcm5IgKc6wkY=", "issue"=>{"is_private"=>"0", "project_id"=>"383", "subject"=>"xxxxxxxxxxxxxxxxx", "description"=>"xxxxxxxxxxxxxxxxxxx", "status_id"=>"2", "priority_id"=>"4", "assigned_to_id"=>"3", "parent_issue_id"=>"", "start_date"=>"2015-06-10", "due_date"=>"", "estimated_hours"=>"", "done_ratio"=>"0", "custom_field_values"=>{"2"=>[""], "3"=>[""], "4"=>[""]}, "checklists_attributes"=>{"0"=>{"is_done"=>"0", "subject"=>"", "_destroy"=>"false", "position"=>"1", "id"=>""}}, "notes"=>"", "private_notes"=>"0", "lock_version"=>"4"}, "time_entry"=>{"hours"=>"", "activity_id"=>"13", "comments"=>""}, "last_journal_id"=>"11173", "commit"=>"Изпращане", "id"=>"2885"} Current user: xxx (id=3) Rendered issues/edit.html.erb within layouts/base (31.2ms) Completed 500 Internal Server Error in 109.4ms ActionView::Template::Error (undefined method `name' for nil:NilClass): 1: <h2><%=h "#{@issue.tracker.name} ##{@issue.id}" %></h2> 2: 3: <%= render :partial => 'edit' %> 4: <% content_for :header_tags do %> app/views/issues/edit.html.erb:1:in `_app_views_issues_edit_html_erb__803754913_24533328' app/controllers/issues_controller.rb:207:in `block (2 levels) in update' app/controllers/issues_controller.rb:206:in `update'
Updated by Toshi MARUYAMA over 9 years ago
- Status changed from New to Confirmed
Confirmed in 2.6-stable r14532.
Updated by Toshi MARUYAMA over 9 years ago
- Target version set to 3.2.0
Confirmed in trunk r14542, too.
Updated by Jean-Philippe Lang over 9 years ago
- Status changed from Confirmed to Closed
- Assignee set to Jean-Philippe Lang
- Resolution set to Fixed
Fixed in r14612, thanks for pointing this out.
Updated by Jean-Philippe Lang over 9 years ago
Projects without trackers are longer proposed when editing an issue (r14613).
Actions