Project

General

Profile

Actions

Bug #12898

closed

creating a host with content view and lifecycle enviroment fails with mass security assignment

Added by Justin Sherrill over 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
medium
Triaged:
Fixed in Releases:
Found in Releases:

Description

| ActiveModel::MassAssignmentSecurity::Error (Can't mass-assign protected attributes for Host::Managed: content_facet_attributes): | app/models/host/base.rb:97:in `initialize' | app/models/host/managed.rb:45:in `initialize' | app/models/concerns/foreman/sti.rb:22:in `new_with_cast' | app/models/host.rb:15:in `method_missing' | app/controllers/hosts_controller.rb:580:in `process_hostgroup' | app/controllers/concerns/application_shared.rb:13:in `set_timezone' | app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' | lib/middleware/catch_json_parse_errors.rb:9:in `call'


Related issues 1 (0 open1 closed)

Related to Katello - Tracker #9259: Rails 4 featureResolved02/06/2015

Actions
Actions

Also available in: Atom PDF