Project

General

Profile

Actions

Bug #17644

closed

Inconsistent host content_source field between UI and API

Added by Andrew Kofink about 8 years ago. Updated over 6 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1387599
Description of problem:
When a host is registered with only Puppet there is a difference how the UI and the API provide the user feedback.
In the UI there is always a Content Source field shown.
The API does not return the content_source_id field when there is no content (and also no content_facet_attributes)

This is confusing for the end user. Why do i get a value in the UI, but when querying the API it is not available
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Register a host with Puppet only
2. Query the hosts through the API
3. Edit the host in the UI
Actual results:
In step 2 there is no content_source_id *and content_source_name)
In step 3 the content source field is visible and populated
Expected results:
Consistent behaviour of the content source field. Either both visible in the API and UI or both shall be absent.
Additional info:

Related issues 1 (0 open1 closed)

Related to Katello - Bug #21057: Missing 'Content Source' output in `hammer host info`ClosedAndrew Kofink09/21/2017Actions
Actions

Also available in: Atom PDF