Actions
Bug #17644
closedInconsistent host content_source field between UI and API
Difficulty:
medium
Triaged:
Bugzilla link:
Pull request:
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:
Updated by Andrew Kofink about 8 years ago
- Subject changed from Inconsistent host content_source field between UI and API to Inconsistent host content_source field between UI and API
- Target version set to 147
Updated by The Foreman Bot about 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Andrew Kofink
- Pull request https://github.com/Katello/katello/pull/6504 added
Updated by Andrew Kofink about 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|02caee7ed2286cf816cbe9d5e59d3fa3d1e3999a.
Updated by Justin Sherrill about 8 years ago
- Category set to API
- Translation missing: en.field_release set to 211
- Difficulty set to medium
Updated by Justin Sherrill about 8 years ago
- Translation missing: en.field_release changed from 211 to 188
Updated by Daniel Lobato Garcia over 7 years ago
- Bugzilla link changed from 1387599 to 1488130
Updated by Andrew Kofink over 7 years ago
- Related to Bug #21057: Missing 'Content Source' output in `hammer host info` added
Actions