Bug 1328139

Summary: host facet api 'view' shows 'content' and 'subscriptions', while update/create accepts 'content_facet_attributes' and 'subscription_facet_attributes'
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: APIAssignee: Justin Sherrill <jsherril>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, cwelton, jcallaha
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14677
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:09:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Justin Sherrill 2016-04-18 14:44:41 UTC
Currently when creating or updating a host, the user specifies  content_facet_attributes and subscription_facet_attributes

but the rabl currently outputs  'content' and 'subscriptions'.  We should make these two the same if possible



11435

Comment 1 Justin Sherrill 2016-04-18 14:44:43 UTC
Created from redmine issue http://projects.theforeman.org/issues/14677

Comment 2 Justin Sherrill 2016-04-18 14:44:46 UTC
Upstream bug assigned to jsherril

Comment 4 jcallaha 2016-05-27 18:31:55 UTC
Verified in Satellite 6.2 Beta Snap 13.

view not mirrors the attribute names in create/update. The longer forms ('content_facet_attributes', 'subscription_facet_attributes') have been selected.

Comment 5 Bryan Kearney 2016-07-27 11:09:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1501