Project

General

Profile

Actions

Defect #6193

closed

500 error in Issues list

Added by Sergey Belov over 13 years ago. Updated over 13 years ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

I have installed Redmine 1.0.1 and it has Error 500 when I open issues list.
I did upgrade from 0.9.4 as in instruction.
Have rails-2.3.8 and use passenger

Please check screenshot


Files


Related issues

Related to Redmine - Feature #6887: Upgrade to Rails 2.3.11ClosedJean-Philippe Lang2010-11-13

Actions
Actions #1

Updated by Eric Davis over 13 years ago

  • Status changed from New to Closed
  • Priority changed from High to Normal
  • Affected version (unused) changed from 1.0.0-RC to 1.0.1
  • Resolution set to Invalid
  • Affected version set to 1.0.1

Rails 2.3.8 is not supported, please check Redmine's requirements and try again. If you still are having an error, go ahead and reopen this issue.

Actions #2

Updated by Sergey Belov over 13 years ago

I see. I use redmine 0.9.4 with Rails 2.3.8 and though it's supported fine because it has 2.3.5 for 0.9.x and 1.x versions

Actions #3

Updated by Sergey Belov over 13 years ago

  • Status changed from Closed to Reopened

Same issue. I have downgraded Rails

conf.vs # rails -v
Rails 2.3.5

Actions #4

Updated by ­ Pas over 13 years ago

redmine SVN Updated to revision 4050. (RAILS_ENV=production rake db:migrate has been executed already)
ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]

Debian, Ruby1.8, Rails 2.3.5

Processing IssuesController#index (for 86.101.xxx.xxx at 2010-08-30 20:57:45) [GET]
  Parameters: {"project_id"=>"xxxxxxxxxxxxxxxxxxx", "action"=>"index", "controller"=>"issues"}
Rendering template within layouts/base
Rendering issues/index.rhtml

ActionView::TemplateError (undefined method `-' for nil:NilClass) on line #16 of app/views/issues/_list.rhtml:
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">

    app/helpers/issues_helper.rb:28:in `issue_list'
    app/helpers/issues_helper.rb:23:in `each'
    app/helpers/issues_helper.rb:23:in `issue_list'
    app/views/issues/_list.rhtml:16:in `_run_rhtml_app47views47issues47_list46rhtml_locals_issues_list_object_query'
    ...

It's driving me quite mad.

Actions #5

Updated by Sergey Belov over 13 years ago

something strange there. I couldn't try a new version of redmine, still use 0.9.4 :(

Actions #6

Updated by Sascha Drews over 13 years ago

Gregory Pas wrote:

redmine SVN Updated to revision 4050. (RAILS_ENV=production rake db:migrate has been executed already)
ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]

Debian, Ruby1.8, Rails 2.3.5

[...]

It's driving me quite mad.

Look at my entry. I had the same problem and could solve it by running a simple sql.

Hope this helps,
Sascha

Actions #7

Updated by ­ Pas over 13 years ago

Thanks, that UPDATE did it.

Actions #8

Updated by Sergey Belov over 13 years ago

Thanks for Sascha Drews #5907, this UPDATE helped me too

Actions #9

Updated by Felix Schäfer over 13 years ago

  • Status changed from Reopened to Closed
Actions

Also available in: Atom PDF