Bug #10853
closedconfig_template_ids does not exist in taxonomies PUT
Description
| Started PUT "/api/organizations/1" for 2001:4800:7817:104:be76:4eff:fe03:e445 at 2015-06-16 15:02:22 +0000
2015-06-16 15:02:22 [app] [I] Processing by Api::V2::OrganizationsController#update as JSON
2015-06-16 15:02:22 [app] [I] Parameters: {"organization"=>{"config_template_ids"=>["58"]}, "apiv"=>"v2", "id"=>"1"}
...
2015-06-16 15:02:22 [app] [W] Action failed
| ActiveRecord::UnknownAttributeError: unknown attribute: config_template_ids
| /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/attribute_assignment.rb:88:in `block in assign_attributes'
| /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/attribute_assignment.rb:78:in `each'
| /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/attribute_assignment.rb:78:in `assign_attributes'
| /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/persistence.rb:215:in `block in update_attributes'
| /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
| /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
| /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:in `transaction'
| /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
| /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/persistence.rb:214:in `update_attributes'
| /usr/share/foreman/app/controllers/concerns/api/v2/taxonomies_controller.rb:67:in `update'
Updated by The Foreman Bot over 9 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2470 added
- Pull request deleted (
)
Updated by Marek Hulán over 9 years ago
- Translation missing: en.field_release set to 35
Updated by Martin Bacovsky over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 1efc5f1a77f07e5203a07127ee1b0de1d45e8f27.