Project

General

Profile

Actions

Defect #34682

closed

Internal error 500 after updating to r20735

Added by ChunChang (Nagaharu) Lo about 3 years ago. Updated about 3 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

error in the log:
Creating scope :system. Overwriting existing method Enumeration.system.
Creating scope :sorted. Overwriting existing method Group.sorted.
Creating scope :sorted. Overwriting existing method User.sorted.
DEPRECATION WARNING: `secrets.secret_token` is deprecated in favor of `secret_key_base` and will be removed in Rails 6.0. (called from <top (required)> at /var/www/html/redmine/config/environment.rb:16)
Started GET "/login?back_url=https%3A%2F%2Fredmine.my.domain%2F" for 159.127.153.179 at 2021-02-04 05:39:01 +0000
Processing by AccountController#login as HTML
Parameters: {"back_url"=>"https://redmine.itcac.com.tw/"}
Current user: anonymous
Rendering account/login.html.erb within layouts/base
Rendered account/login.html.erb within layouts/base (10.4ms)
Completed 500 Internal Server Error in 1633ms (ActiveRecord: 25.8ms)

ActionView::Template::Error (undefined method `index_by' for #<Redmine::ProjectJumpBox:0x0000555c27bf85c8>):
82: </label>
83: <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search),
84: :data => {
85: :auto_complete => true
86: } >
87: <
end >
88: <
= render_project_jump_box %>

lib/redmine/project_jump_box.rb:34:in `recently_used_projects'
app/helpers/application_helper.rb:519:in `render_projects_for_jump_box'
app/helpers/application_helper.rb:570:in `render_project_jump_box'
app/views/layouts/base.html.erb:85:in `_app_views_layouts_base_html_erb___4474306940320571239_46927136091280'
lib/redmine/sudo_mode.rb:61:in `sudo_mode'

Actions #1

Updated by Go MAEDA about 3 years ago

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

Reverted the commit in r20736. Thank you for reporting the issue.

Actions

Also available in: Atom PDF