Undefined method `default_assigned_to_id' ERROR
Added by mike albor about 6 years ago
6d
Keywords: Redmine - Virtual Machines - Technical issue - Upgrade
Description:
Hello Friends: I am administering a Redmine bitnami installation that apparently was migrated from an old installation. It works perfectly, except the configuration page (settings) that shows me the following error; Can you help me?
Rendered projects/settings.html.erb within layouts/base (243.5ms)
Completed 500 Internal Server Error in 278ms (ActiveRecord: 5.7ms)
ActionView::Template::Error (undefined method default_assigned_to_id' for #<Project:0x00007f15b6557288>
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_opt$
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:inselect'
app/views/projects/_form.html.erb:28:in app_views_projects_form_html_erb___2037395645569156226_47198609446060'
app/views/projects/_edit.html.erb:2:inblock in appviews_projects__edit_html_erb___2093971446433198550_47198609387180'
This is the only error I have. Thanks in advance
Replies (1)
RE: Undefined method `default_assigned_to_id' ERROR - Added by Go MAEDA about 6 years ago
Maybe you have not migrated the database schema. The column default_assigned_to_id
was added to projects
table in Redmine 3.4.
I think the wiki page RedmineUpgrade is helpful for you.