Project

General

Profile

Actions

Defect #25342

closed

ActionView::Template::Error (undefined method `accessor' for #<ActiveRecord::Type::Value:0xa91ee78>):

Added by di yu over 7 years ago. Updated 10 months ago.

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

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

ActionView::Template::Error (undefined method `accessor' for #<ActiveRecord::Type::Value:0xa91ee78>):
15: <% end >
16:
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 >
20:
21: <
if @issue.safe_attribute?('category_id') && @issue.project.issue_categories.any? %>
app/models/role.rb:213:in `permissions_all_trackers'
app/models/role.rb:222:in `permissions_all_trackers?'
app/models/role.rb:228:in `permissions_tracker?'
app/models/project.rb:532:in `block in assignable_users'
app/models/project.rb:532:in `assignable_users'
app/models/issue.rb:863:in `assignable_users'
app/views/issues/_attributes.html.erb:18:in `block in app_views_issues_attributes_html_erb___393264238_89404116'
app/helpers/application_helper.rb:1058:in `labelled_fields_for'
app/views/issues/_attributes.html.erb:1:in `_app_views_issues__attributes_html_erb___393264238_89404116'
app/views/issues/_form.html.erb:42:in `block in app_views_issues_form_html_erb__208462307_88996968'
app/helpers/application_helper.rb:1058:in `labelled_fields_for'
app/views/issues/_form.html.erb:1:in `_app_views_issues__form_html_erb__208462307_88996968'
app/views/issues/new.html.erb:11:in `block in app_views_issues_new_html_erb_739418024_88663224'
app/helpers/application_helper.rb:1051:in `labelled_form_for'
app/views/issues/new.html.erb:5:in `_app_views_issues_new_html_erb__739418024_88663224'
app/controllers/issues_controller.rb:129:in `block (2 levels) in new'
app/controllers/issues_controller.rb:128:in `new'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Actions

Also available in: Atom PDF