Project

General

Profile

Actions

Defect #28468

closed

updated redmine from version 3.3.2 to 3.4.4 have error

Added by James Lai over 6 years ago. Updated over 6 years ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hello,Team,
I have updated redmine from version3.3.2 to 3.4.4,when I imported database data and files,it seem work normal,but when I click project setting,it appear "Internal error",log as below:
Current user: admin (id=1)
Rendered projects/_form.html.erb (83.3ms)
Rendered projects/_edit.html.erb (83.8ms)
Rendered common/_tabs.html.erb (86.0ms)
Rendered projects/settings.html.erb within layouts/base (86.3ms)
Completed 500 Internal Server Error in 97ms (ActiveRecord: 6.6ms)

ActionView::Template::Error (undefined method `default_assigned_to_id' for #<Project:0x00007f6ac85cce18>
Did you mean? default_assigned_to
default_assigned_to=):
25: <% end >
26:
27: <
if @project.safe_attribute?('default_assigned_to_id') && (default_assigned_to_options = project_default_assigned_to_options(Herve Harster)).present? >
28: <p><
= f.select :default_assigned_to_id, default_assigned_to_options, include_blank: true ></p>
29: <
end >
30:
31: <
= wikitoolbar_for 'project_description' %>
lib/redmine/views/labelled_form_builder.rb:38:in `select'
app/views/projects/_form.html.erb:28:in `_app_views_projects__form_html_erb___3291442570450357428_70048327060060'
app/views/projects/_edit.html.erb:2:in `block in app_views_projects_edit_html_erb__932987621284645149_70048327002560'
app/helpers/application_helper.rb:1190:in `labelled_form_for'
app/views/projects/_edit.html.erb:1:in `_app_views_projects__edit_html_erb__932987621284645149_70048327002560'
app/views/common/_tabs.html.erb:17:in `block in app_views_common_tabs_html_erb___3545613976734949968_70048326888560'
app/views/common/_tabs.html.erb:16:in `each'
app/views/common/_tabs.html.erb:16:in `_app_views_common__tabs_html_erb___3545613976734949968_70048326888560'
app/helpers/application_helper.rb:345:in `render_tabs'
app/views/projects/settings.html.erb:3:in `_app_views_projects_settings_html_erb___3874295062219565917_70048326828240'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
by comparison,I found v3.3.2 (redmine/app/views/projects/_form.html.erb) havs no "default_assigned_to_id" field but v3.4.4 have this field,is it any way to resolved this problem?thank you,

my redmine environment:
Environment:
Redmine version 3.4.4.stable
Ruby version 2.4.3-p205 (2017-12-14) [x86_64-linux]
Rails version 4.2.8
Environment production
Database adapter Mysql2
SCM:
Git 1.8.3.1
Filesystem
Redmine plugins:
_query 0.0.3
clipboard_image_paste 1.12
redmine_ckeditor 1.1.5
redmine_contacts 4.1.2
redmine_custom_workflows 0.1.6
redmine_editauthor 0.11.0
redmine_favorite_projects 2.0.3
redmine_issues_tree 0.0.11
redmine_knowledgebase 3.3.1

Actions #1

Updated by Go MAEDA over 6 years ago

  • Status changed from New to Closed
  • Priority changed from High to Normal
  • Resolution set to Invalid

Please use forums for question after reading How to request help.

Maybe you have not run "bundle exec rake db:migrate RAILS_ENV=production". See RedmineUpgrade for details.

Actions

Also available in: Atom PDF