Project

General

Profile

Actions

Bug #17644

closed

Inconsistent host content_source field between UI and API

Added by Andrew Kofink over 7 years ago. Updated over 5 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 #1

Updated by Andrew Kofink over 7 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
Actions #2

Updated by The Foreman Bot over 7 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
Actions #3

Updated by Andrew Kofink about 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Justin Sherrill about 7 years ago

  • Category set to API
  • translation missing: en.field_release set to 211
  • Difficulty set to medium
Actions #5

Updated by Justin Sherrill about 7 years ago

  • translation missing: en.field_release changed from 211 to 188
Actions #6

Updated by Daniel Lobato Garcia over 6 years ago

  • Bugzilla link changed from 1387599 to 1488130
Actions #7

Updated by Andrew Kofink over 6 years ago

  • Related to Bug #21057: Missing 'Content Source' output in `hammer host info` added
Actions

Also available in: Atom PDF