Defect #31411

Internal Error (r18182)

Added by ChunChang Lo about 1 year ago. Updated about 1 year ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
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... Closed

History

#1 Updated by Go MAEDA about 1 year ago

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

#2 Updated by ChunChang Lo about 1 year ago

Hello,

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

#3 Updated by Go MAEDA about 1 year ago

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

Committed the fix. Thank you for checking the fix.

#4 Updated by Go MAEDA about 1 year ago

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

Also available in: Atom PDF