Project

General

Profile

Actions

Defect #31411

closed

Internal Error (r18182)

Added by ChunChang (Nagaharu) Lo almost 5 years ago. Updated almost 5 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Hello,

I got this error after updating my site to r18182

Started GET "/" for 59.210.213.187 at 2019-05-21 13:30:36 +0800
Processing by WelcomeController#index as HTML
  Current user: anonymous
  Rendering welcome/index.html.erb within layouts/base
  Rendered welcome/index.html.erb within layouts/base (38.9ms)
Completed 500 Internal Server Error in 205ms (ActiveRecord: 21.9ms)

ActionView::Template::Error (uninitialized constant Redmine::ProjectJumpBox):
    79:         <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
    80:         <label for='q'>
    81:           <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project, :scope => default_search_project_scope}, :accesskey => accesskey(:s
    82:         </label>
    83:         <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
    84:         <% end %>
    85:         <%= render_project_jump_box %>

app/helpers/application_helper.rb:428:in `render_projects_for_jump_box'
app/helpers/application_helper.rb:478:in `render_project_jump_box'
app/views/layouts/base.html.erb:82:in `_app_views_layouts_base_html_erb___758285660296745932_57533560'
lib/redmine/sudo_mode.rb:65:in `sudo_mode'

any suggestion to fix this error?

thanks.


Related issues

Related to Redmine - Feature #31355: Bookmarks and recently used projects for the project jump boxClosedGo MAEDA

Actions
Actions #1

Updated by Go MAEDA almost 5 years ago

Probably #31355#note-11 fixes the problem. I am going to commit the fix later. Sorry for the inconvenience.

Actions #2

Updated by ChunChang (Nagaharu) Lo almost 5 years ago

Hello,

it's okay.
thanks for the info.
good to know that it had been fixed already.

Actions #3

Updated by Go MAEDA almost 5 years ago

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

Committed the fix. Thank you for checking the fix.

Actions #4

Updated by Go MAEDA almost 5 years ago

  • Related to Feature #31355: Bookmarks and recently used projects for the project jump box added
Actions

Also available in: Atom PDF