Actions
Bug #19057
closedNeed to address Inconsistent Json between product content jsons
Description
Note:
https://github.com/Katello/katello/blob/master/app/views/katello/api/v2/activation_keys/product_content.json.rabl#L19 calls content overrides as overrides while
https://github.com/Katello/katello/blob/master/app/views/katello/api/v2/host_subscriptions/product_content.json.rabl#L15
calls the same as "content_overrides"
More over the bigger issue is that product content for host subs prints just one value for content overrides . This is because https://github.com/Katello/katello/blob/master/app/presenters/katello/product_content_presenter.rb#L21 does a
overrides.find { |pc| pc.content_label == content.label }
instead of
overrides.select { |pc| pc.content_label == content.label }
Updated by Partha Aji almost 8 years ago
- Copied from Feature #18859: Need API's to content overrides for single host added
Updated by The Foreman Bot almost 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6706 added
Updated by Partha Aji almost 8 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|218d4db8f5c80600ec85d9ba8dd1439dd167fb8e.
Actions