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
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
Expected results: The value of the object.
Additional info: This occurs through the UI, CLI, and API.
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:
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.
^ bug 1817617
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.