Description of problem:
GET or PUT /api/v2/hosts/:id does not return content_source_id field
Version-Release number of selected component (if applicable):
sat62 public beta
Steps to Reproduce:
1. Issue a HTTP GET or PUT to /api/v2/hosts/:id
2. Check the returned json
content_source_id is missing
content_source_id is present
Modifying content_source_id with a PUT call seems to work, but the current value of content_source_id can not be queried
this issue is been addressed and fixed.
Pull Request: https://github.com/Katello/katello/pull/6189
can change the state of the BZ accordingly.
Additional add also the name of the capsule "content_source_name" to be consistent.
the `content_source_id` parameter is now being returned. (see attachment)
I'm also removing 6.2.z flag as I'm cloning a standalone BZ for 6.2:
Created attachment 1215749 [details]
I see this is fixed for GET, but how about PUT?
The content_source_name is still missing in the errata of https://bugzilla.redhat.com/show_bug.cgi?id=1390153
qe_test_coverage PR : https://github.com/SatelliteQE/robottelo/pull/5307
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/RHSA-2018:0336