Bug 1783031
Summary: | Object references instead of values in Entitlement reports | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Cole Higgins <chiggins> | ||||
Component: | Reporting | Assignee: | Dominik Matoulek <dmatoule> | ||||
Status: | CLOSED ERRATA | QA Contact: | Lukáš Hellebrandt <lhellebr> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.7.0 | CC: | ahecox, asherlan, dmatoule, egolov, ehelms, inecas, mhulan, oprazak, rankumar, tbrisker | ||||
Target Milestone: | 6.7.0 | Keywords: | Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | tfm-rubygem-katello-3.14.0.17-1,foreman-1.24.1.19-1,tfm-rubygem-katello-3.14.0.19-1 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2020-04-14 13:39:06 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Created redmine issue https://projects.theforeman.org/issues/28627 from this bug *** Bug 1805621 has been marked as a duplicate of this bug. *** Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/28627 has been resolved. FailedQA with Sat 6.7 snap 16. Unfortunately, this caused snap-wise (because the report wasn't in 6.6) regression in JSON format. Multiple Host Collections should be (and were) an array: "Host Collections":["fish","bird"] After this fix, it's a string with comma-separated names: "Host Collections":"fish, bird" Verified with Sat 6.7 snap 17. The original bug is fixed and issue described in comment 11 is fixed as well. During verification, I discovered similar issue as in OP: in Registered Hosts report in HTML format, Subscriptions are printed as an object referrence. Reporting a standalone BZ about this issue. 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-2020:1454 |
Created attachment 1644565 [details] HTML Entitlement report Description of problem: The HTML output format is returning the object itself not the value of the object for Host Collections and Products. Version-Release number of selected component (if applicable): Satellite 6.7 Snap 5 How reproducible: 100% Steps to Reproduce: 1. Go to monitor -> Report Templates -> Entitlements -> Generate 2. Select the Output format of HTML 3. Click submit and download the report Actual results: Host Collections: #<Katello::HostCollection::ActiveRecord_Associations_CollectionProxy:0x0000000021043cd0> Expected results: The value of the object. Additional info: This occurs through the UI, CLI, and API.