error 500 on new issue after update
Added by rubens Junior about 5 years ago
HI, hope you are well, I need help to this error, see the production log:
on new issue, show error 500
Started GET "/redmine/projects/it/issues/new" for 127.0.0.1 at 2019-10-16 03:23:57 -0700
Processing by IssuesController#new as HTML
Parameters: {"project_id"=>"it"}
Current user: rubens (id=86)
Completed 500 Internal Server Error in 40ms (ActiveRecord: 5.0ms)
NoMethodError (undefined method `default_version_id?' for #<Project:0x9a07ee0>):
app/models/issue.rb:363:in `project='
app/controllers/issues_controller.rb:423:in `build_new_issue_from_params'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
Replies (1)
RE: error 500 on new issue after update - Added by Guillermo ML about 5 years ago
Did you run "rake db:migrate" ?