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: VERIFIED --- 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: 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