Project

General

Profile

Actions

Bug #17861

closed

Cannot edit host operating system

Added by Daniel Lobato Garcia over 8 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
Normal
Category:
Hosts
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

To reproduce:

1. create a host with an operating system with synced media
2. edit the host
3. change the operating system: no matter which OS you choose, synced media will not be available.

I believe this happens because of app/assets/javascripts/host_and_hostgroup_edit.js , as

attribute_hash(['operatingsystem_id', 'organization_id', 'location_id', 'content_view_id',
'lifecycle_environment_id', 'content_source_id', 'architecture_id', 'hostgroup_id',
'medium_id', 'kickstart_repository_id']);

isn't able to pick content_view_id, lifecycle_environment_id and kickstart_repository_id (all of the attributes that are set via facets).

Actions

Also available in: Atom PDF