Project

General

Profile

Actions

Defect #20392

closed

Error: nil:NilClass - Error querying any task of a specific project.

Added by Adriano Ceccarelli almost 9 years ago. Updated almost 9 years ago.

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

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

Error

Error querying any task of a specific project.
Was closed, reopen it and the error persisted.

Production.log

  Rendered issues/show.html.erb within layouts/base (1316.7ms)
Completed 500 Internal Server Error in 1602.3ms

ActionView::Template::Error (undefined method `project' for nil:NilClass):
    1: <% changesets.each do |changeset| %>
    2:     <div class="changeset <%= cycle('odd', 'even') %>">
    3:     <p><%= link_to_revision(changeset, changeset.repository,
    4:                             :text => "#{l(:label_revision)} #{changeset.format_identifier}") %><br />
    5:         <span class="author"><%= authoring(changeset.committed_on, changeset.author) %></span></p>
    6:     <div class="wiki">
  app/helpers/application_helper.rb:113:in `link_to_revision'
  app/views/issues/_changesets.html.erb:3:in `block in _app_views_issues__changesets_html_erb__3878030136385139792_67352140'
  app/views/issues/_changesets.html.erb:1:in `each'
  app/views/issues/_changesets.html.erb:1:in `_app_views_issues__changesets_html_erb__3878030136385139792_67352140'
  app/views/issues/show.html.erb:113:in `_app_views_issues_show_html_erb__989878426512223363_35076440'
  app/controllers/issues_controller.rb:128:in `block (2 levels) in show'
  app/controllers/issues_controller.rb:125:in `show'

Environment

Environment:
  Redmine version                2.6.1.stable
  Ruby version                   1.9.3-p194 (2012-04-20) [x86_64-linux]
  Rails version                  3.2.21
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.6.17
  Git                            1.7.10.4
  Filesystem
Redmine plugins:
  a_common_libs                  1.1.3
  custom_menu                    1.0.0
  parent_issue_filter            1.0.1
  redmine_auto_percent           0.0.1
  redmine_custom_reports         0.1.4
  redmine_daily_scrum            0.0.1
  redmine_documents              1.0.0
  redmine_drafts                 0.2.0
  redmine_impasse                1.2.2
  redmine_importer               1.2.2
  redmine_issue_history_tabs     0.0.3
  redmine_issue_templates        0.0.9
  redmine_issue_templates_notes  2.0.0
  redmine_issue_wiki_journal     0.9.0
  redmine_meeting_room_calendar  2.1.3
  redmine_percent_done_configuration 0.1.23x
  redmine_pivot_table            0.0.2
  redmine_questions              0.0.5
  redmine_send_mails             0.3.23xBeta
  redmine_spent_time             2.6.6
  redmine_tags                   2.1.0
  redmine_time_tracker           0.4
  redmine_wiki_extensions        0.6.5
  redmine_wiki_lists             0.0.5
  redmine_wiki_templates         0.1.1
  redmine_workload               0.0.1
  sidebar_hide                   0.0.7
Actions

Also available in: Atom PDF