Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2222705

Summary: "Applicable errata" and "registered content hosts" reports syntax highlighting broken + applicable errata name needs changing
Product: Red Hat Satellite Reporter: Ian Ballou <iballou>
Component: ReportingAssignee: Ian Ballou <iballou>
Status: CLOSED ERRATA QA Contact: Sam Bible <sbible>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.14.0CC: pcreech, sbible
Target Milestone: 6.14.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman-3.7.0.6-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-08 14:19:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ian Ballou 2023-07-13 14:19:00 UTC
the applicable errata report now does more than applicable errata, so the name should change.

Example name change migration: https://github.com/theforeman/foreman/blob/develop/db/migrate/20220204155632_rename_job_report_template.rb

Also, there is a strange character breaking syntax highlighting:

...
model: ReportTemplate
require:
- plugin: katello
 version: 4.9.0
...

What is this character before "version"?

Comment 1 Ian Ballou 2023-07-13 14:19:04 UTC
Created from redmine issue https://projects.theforeman.org/issues/36587

Comment 2 Ian Ballou 2023-07-13 14:19:05 UTC
Upstream bug assigned to None

Comment 4 Ian Ballou 2023-07-13 14:25:11 UTC
Suggestion for name change: Host - Available Errata

While "Applicable" would make sense in any other case, we've turned "Applicable" into a word with a specific Katello definition.

Comment 5 Bryan Kearney 2023-08-07 16:03:03 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36587 has been resolved.

Comment 7 Sam Bible 2023-08-10 16:36:27 UTC
Verified on: 6.14 - 10

Steps to verify:
1. Navigate to Monitor -> Report Templates

Expected Results:
There is no template named 'Host - Applicable Errata', and there is one named 'Host - Available Errata'; this template has proper syntax highlighting. 
Also check 'Host - Registered Content Hosts' template for syntax highlighting

Actual Results:
There is no template named 'Host - Applicable Errata', and there is one named 'Host - Available Errata'; this template has proper syntax highlighting
Also check 'Host - Registered Content Hosts' template for syntax highlighting

Comment 10 errata-xmlrpc 2023-11-08 14:19:56 UTC
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 (Important: Satellite 6.14 security and bug fix update), 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-2023:6818