プロジェクト

全般

プロフィール

Vote #81541

未完了

ActionView::Template::Error

Admin Redmine さんが約2年前に追加.

ステータス:
Needs feedback
優先度:
通常
担当者:
-
カテゴリ:
-
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
0
version_id:
0
issue_org_id:
35608
author_id:
530723
assigned_to_id:
0
comments:
6
status_id:
10
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Needs feedback]

説明

ActionView::Template::Error (Tried to load unspecified class: ActiveSupport::HashWithIndifferentAccess):
     6:   
     7:       <%= label_tag available_tag_id, l(:description_available_columns) %>
     8:       <%= select_tag 'available_columns',
     9:               options_for_select(query_available_inline_columns_options(query)),
    10:               :id => available_tag_id,
    11:               :multiple => true, :size => 10,
    12:               :ondblclick => "moveOptions(this.form.#{available_tag_id}, this.form.#{selected_tag_id});" %>

app/models/custom_field.rb:194:in `full_width_layout?'
app/models/query.rb:129:in `initialize'
app/models/issue_query.rb:227:in `new'
app/models/issue_query.rb:227:in `block in available_columns'
app/models/issue_query.rb:227:in `collect'
app/models/issue_query.rb:227:in `available_columns'
app/models/query.rb:751:in `available_inline_columns'
app/helpers/queries_helper.rb:111:in `query_available_inline_columns_options'
app/views/queries/_columns.html.erb:9:in `_app_views_queries__columns_html_erb__180106743509758731_39790100'
app/helpers/queries_helper.rb:120:in `render_query_columns_selection'
app/views/settings/_issues.html.erb:42:in `block in _app_views_settings__issues_html_erb___3907273758105470640_70343526728380'
app/views/settings/_issues.html.erb:1:in `_app_views_settings__issues_html_erb___3907273758105470640_70343526728380'
app/views/common/_tabs.html.erb:21:in `block in _app_views_common__tabs_html_erb___2021973252971248650_66522480'
app/views/common/_tabs.html.erb:20:in `each'
app/views/common/_tabs.html.erb:20:in `_app_views_common__tabs_html_erb___2021973252971248650_66522480'
app/helpers/application_helper.rb:439:in `render_tabs'
app/views/settings/edit.html.erb:5:in `_app_views_settings_edit_html_erb___2628854012480261892_66449720'
app/controllers/settings_controller.rb:33:in `index'
lib/redmine/sudo_mode.rb:65:in `sudo_mode'

journals

Please see [[Submissions]].
--------------------------------------------------------------------------------
Environment:
Redmine version 4.1.3.stable
Ruby version 2.5.9-p229 (2021-04-05) [x86_64-linux]
Rails version 5.2.5
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery sendmail
SCM:
Subversion 1.7.14
Git 1.8.3.1
Filesystem
Redmine plugins:
no plugin installed
--------------------------------------------------------------------------------
Is it a fresh installation or the error occurs after you upgraded an old installation to 4.1.3? We need more information from you in order to understand the cause because we are not aware by such problems in the supported Redmine versions.
--------------------------------------------------------------------------------
It's after upgrade from this environment:

Environment:
Redmine version 4.1.1.stable
Ruby version 2.6.1-p33 (2019-01-30) [x86_64-linux]
Rails version 5.2.4.2
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery sendmail
SCM:
Subversion 1.6.11
Git 1.7.1
Filesystem
Redmine plugins:
no plugin installed

OS CentOS 6.10

The new ambient it's a CentOS 7.9.

Migrate/upgrade process:

cd /opt/rails/redmine/
rvm rvmrc warning ignore allGemfiles
gem install bundle
gem install bundler
gem update --system
gem update
bundle install --without development test postgresql sqlite
bundle exec rake generate_secret_token
bundle update
bundle exec rake db:migrate RAILS_ENV=production
bundle exec rake redmine:plugins:migrate RAILS_ENV=production
bundle exec rake tmp:cache:clear RAILS_ENV=production

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Can you check my comment from #35582#note-2?
--------------------------------------------------------------------------------


related_issues

relates,New,35582,Error: Template::Error (Tried to load unspecified class: ActiveSupport::HashWithIndifferentAccess)

表示するデータがありません

他の形式にエクスポート: Atom PDF

いいね!0