Defect #7248

NoMethodError in Issues#index after upgrading to r4651

Added by Mezz Anon almost 7 years ago. Updated almost 7 years ago.

Status:ClosedStart date:2011-01-07
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution:Duplicate Affected version:

Description

NoMethodError in Issues#index

Showing app/views/issues/_list.rhtml where line #16 raised:

undefined method `-' for nil:NilClass

Extracted source (around line #16):

13:     </tr></thead>
14:     <% previous_group = false %>
15:     <tbody>
16:     <% issue_list(issues) do |issue, level| -%>
17:   <% if @query.grouped? && (group = @query.group_by_column.value(issue)) != previous_group %>
18:     <% reset_cycle %>
19:     <tr class="group open">

Ran svn update from Redmine trunk, updated the i18n gem to 0.4.2 as required, and ran rake db:migrate RAILS_ENV=production

Restarted apache and get the above error when viewing issues.

GEM List:

*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (2.3.5, 2.3.2)
actionpack (2.3.5, 2.3.2)
activerecord (2.3.5, 2.3.2)
activeresource (2.3.5, 2.3.2)
activesupport (2.3.5, 2.3.2)
arel (1.0.1)
builder (2.1.2)
bundler (1.0.0)
erubis (2.6.6)
fastthread (1.0.7)
i18n (0.4.2, 0.3.7)
mail (2.2.5)
mime-types (1.16)
mysql (2.8.1)
passenger (2.2.15)
polyglot (0.3.1)
rack (1.2.1, 1.0.1)
rack-mount (0.6.13)
rack-test (0.5.4)
rails (2.3.5, 2.3.2)
rake (0.8.7, 0.8.3)
rubygems-update (1.3.7)
thor (0.14.0)
treetop (1.4.8)
tzinfo (0.3.23)

History

#1 Updated by Jean-Philippe Lang almost 7 years ago

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

Also available in: Atom PDF