Redmine 3.4.3 Project setting error
Added by Anonymous about 7 years ago
Hi all
I have upgraded on redmine 3.4.3 but I have a problem to access project setting:
Rendered projects/settings.html.erb within layouts/base (56.0ms)
Completed 500 Internal Server Error in 67ms (ActiveRecord: 4.9ms)
ActionView::Template::Error (undefined method `default_assigned_to_id' for #<Project:0x007f407996cfb0> 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(@project)).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__3613079895622896479_69957457544420' app/views/projects/_edit.html.erb:2:in `block in _app_views_projects__edit_html_erb___3959887963699522225_69957457598680' app/helpers/application_helper.rb:1190:in `labelled_form_for' app/views/projects/_edit.html.erb:1:in `_app_views_projects__edit_html_erb___3959887963699522225_69957457598680' app/views/common/_tabs.html.erb:17:in `block in _app_views_common__tabs_html_erb___1829633994064861302_69957457760520' app/views/common/_tabs.html.erb:16:in `each' app/views/common/_tabs.html.erb:16:in `_app_views_common__tabs_html_erb___1829633994064861302_69957457760520' app/helpers/application_helper.rb:345:in `render_tabs' app/views/projects/settings.html.erb:3:in `_app_views_projects_settings_html_erb__1313410137839423048_69957457813600' lib/redmine/sudo_mode.rb:63:in `sudo_mode'
thanks for your help
Replies (4)
RE: Redmine 3.4.3 Project setting error - Added by Toshi MARUYAMA about 7 years ago
It seems you did not run "rake db:migrate".
RE: Redmine 3.4.3 Project setting error - Added by Anonymous about 7 years ago
Yes i have already run the command :
rake db:migrate RAILS_ENV=production
But I have always the same probleme :
Processing by ProjectsController#settings as HTML
Parameters: {"id"=>"ctep"}
Current user: admin (id=1)
Rendered projects/_form.html.erb (172.7ms)
Rendered projects/_edit.html.erb (173.9ms)
Rendered common/_tabs.html.erb (179.3ms)
Rendered projects/settings.html.erb within layouts/base (180.3ms)
Completed 500 Internal Server Error in 216ms (ActiveRecord: 21.3ms)
ActionView::Template::Error (undefined method `default_assigned_to_id' for #<Project:0x007f45515efae0>
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' %>
RE: Redmine 3.4.3 Project setting error - Added by Vitor Urban over 6 years ago
Did you solve your problem?
I am facing the same situation
RE: Redmine 3.4.3 Project setting error - Added by Volk Theresa about 6 years ago
Vitor Urban wrote:
Did you solve your problem?
I am facing the same situation
I’m also having this exact issue.