git update from 3.2.0(i think) to 3.3.0, undefined method `accessor'
A bit stupid, but I thought i was updating a minor release. Any way got stuck with i think a permission problem. Normal users get an error when they are opening a project. When i make them admin, they can open view the project summary page. But opening an issue is also not possible as admin.
Any quick help is much appreciated.
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.
If you are the Redmine administrator, check your log files for details about the error.
Started GET "/projects/sysadmin" for 192.168.11.35 at 2016-07-14 18:13:27 +0200
Processing by ProjectsController#show as HTML
Current user: marc (id=5)
Completed 500 Internal Server Error in 97ms (ActiveRecord: 35.2ms)
NoMethodError (undefined method `accessor' for #<ActiveRecord::Type::Value:0x007fb19a10fec0>):
app/models/tracker.rb:60:in `block (2 levels) in <class:Tracker>'
app/models/project.rb:215:in `block in allowed_to_condition'
app/models/tracker.rb:59:in `block in <class:Tracker>'
Started GET "/issues/2806" for 192.168.11.35 at 2016-07-14 18:17:46 +0200
Processing by IssuesController#show as HTML
Current user: marc (id=5)
Rendered issues/_action_menu.html.erb (2.7ms)
Rendered plugins/scrum/app/views/scrum_hooks/issues/_show.html.erb (1.7ms)
Rendered plugins/redmine_agile/app/views/issues/_issue_story_points.html.erb (0.0ms)
Rendered issue_relations/_form.html.erb (1.0ms)
Rendered issues/_relations.html.erb (1.7ms)
Rendered issues/_history.html.erb (3.1ms)
Rendered issues/_action_menu.html.erb (1.6ms)
Rendered issues/_attributes.html.erb (4.2ms)
Rendered issues/_form.html.erb (46.4ms)
Rendered issues/_edit.html.erb (46.9ms)
Rendered issues/show.html.erb within layouts/base (70.9ms)
Completed 500 Internal Server Error in 130ms (ActiveRecord: 41.0ms)
ActionView::Template::Error (undefined method `accessor' for #<ActiveRecord::Type::Value:0x007fb19a10fec0>):
15: <% end >
17: < if @issue.safe_attribute? 'assigned_to_id' >
18: <p><= f.select :assigned_to_id, principals_options_for_select(@issue.assignable_users, @issue.assigned_to), :include_blank => true, :required => @issue.required_attribute?('assigned_to_id') ></p>
19: < end >
21: < if @issue.safe_attribute?('category_id') && @issue.project.issue_categories.any? %>
app/models/project.rb:530:in `block in assignable_users'
app/views/issues/_attributes.html.erb:18:in `block in app_views_issues_attributes_html_erb__3328270613438114610_70200350533920'
app/views/issues/_form.html.erb:42:in `block in app_views_issues_form_html_erb__2946017214343369439_10583720'
app/views/issues/_edit.html.erb:8:in `block in app_views_issues_edit_html_erb__2381979893847655214_17915960'
app/controllers/issues_controller.rb:118:in `block (2 levels) in show'
RE: git update from 3.2.0(i think) to 3.3.0, undefined method `accessor' - Added by Toshi MARUYAMA about 3 years ago
Did you run "rake db:migrate"?