Bug 2222705 - "Applicable errata" and "registered content hosts" reports syntax highlighting broken + applicable errata name needs changing
Summary: "Applicable errata" and "registered content hosts" reports syntax highlightin...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Reporting
Version: 6.14.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.14.0
Assignee: Ian Ballou
QA Contact: Sam Bible
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-13 14:19 UTC by Ian Ballou
Modified: 2023-08-10 16:36 UTC (History)
2 users (show)

Fixed In Version: foreman-3.7.0.6-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36587 0 Normal Closed "Applicable errata" and "registered content hosts" reports syntax highlighting broken + applicable errata name needs cha... 2023-08-07 15:31:24 UTC
Red Hat Issue Tracker SAT-18992 0 None None None 2023-07-17 12:29:45 UTC

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


Note You need to log in before you can comment on or make changes to this bug.