Bug 2188185 - [RFE] The HTML Report generated for the executed remote execution job should have table cells formatted with style tags assuming pre-formatted text
Summary: [RFE] The HTML Report generated for the executed remote execution job should...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Reporting
Version: 6.13.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
: 2188184 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-20 03:07 UTC by Jayant Bhatia
Modified: 2023-07-19 12:49 UTC (History)
1 user (show)

Fixed In Version:
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
Red Hat Issue Tracker SAT-19039 0 None None None 2023-07-19 12:49:38 UTC

Description Jayant Bhatia 2023-04-20 03:07:29 UTC
Description of problem:

The HTML Report generated for the successfully executed remote execution job creates a table. The table cells should be formatted with style tags that assume pre-formatted text.


Version-Release number of selected component (if applicable): All Satellite versions including Satellite 6.13


How reproducible: Always


Steps to Reproduce:

1. Ensure remote execution is configured in Satellite. For reference: https://access.redhat.com/solutions/2650071

2. Navigate to Satellite WebUI -> Hosts-> All Hosts (select host) -> Action -> Schedule Remote Execution -> Select Job to run -> Execute any job and ensure the remote execution job is successfully completed.

3. Click on "Create Report" at the right top corner. Select "Output Format" as "HTML" and then "Generate" the report.

Actual results:

The HTML report produced for the results of a Job Template run creates a table. 


Expected results:

It would be better if the table cells were formatted with style tags that assume pre-formatted text. Request to have below tag added to the style section in the HEAD of the generated table within HTML report:

 td { vertical-align: top; text-align: start; font-family: monospace; white-space: pre; }

<html><head><title>Jobs - Invocation report template</title><style>th { background-color: black; color: white; }
table,th,td { border-collapse: collapse; border: 1px solid black; } td { vertical-align: top; text-align: start; font-family: monospace; white-space: pre; }
</style></head>

The formatting/style request only applies to reports generated in HTML format from the Job run.


Additional info: Currently user has to hand edit each HTML report file to add the tag. Having this RFE implemented will give a better user experience and will save the efforts of hand editing each HTML report.

Comment 3 Brad Buckingham 2023-04-20 13:28:36 UTC
*** Bug 2188184 has been marked as a duplicate of this bug. ***


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