Bug 1271987

Summary: Monitor Reports View Diff link for Puppet file changes works only once then shows empty window
Product: Red Hat Satellite Reporter: Eric Lavarde <elavarde>
Component: ReportingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Marek Hulan <mhulan>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.2CC: bbuckingham, bkearney, jcallaha, jlyle, mhulan, oprazak
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:51:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Diff window on first click with correct content
none
Empty diff window on 2nd click none

Description Eric Lavarde 2015-10-15 08:43:08 UTC
Created attachment 1083182 [details]
Diff window on first click with correct content

Description of problem:
If Puppet detects a difference in a file and reports it, there is a link in the Satellite Report GUI showing the difference detected "View Diff". Clicking on the link works once but then shows only an empty window.

Version-Release number of selected component (if applicable):
6.1.2

How reproducible:
Always

Steps to Reproduce:
1. Generate a difference in a file managed by Puppet
2. Wait a while until a report is generated
3. Open the report under Monitor -> Reports
4. There should be a "View Diff" link
5. Click on it
6. Close it
7. Click again on it

Actual results:
On the first click, the window appears with a proper Diff
On the 2nd click, the window appears but is completely empty

Expected results:
The click works each time.

Additional info:
- a forced refresh of the page makes the link functional again
- the diff window is not movable (just a side remark)

Comment 1 Eric Lavarde 2015-10-15 08:44:00 UTC
Created attachment 1083183 [details]
Empty diff window on 2nd click

Comment 3 Ondřej Pražák 2016-07-27 09:08:16 UTC
This seems to be fixed in 6.2, the diff modal showed changes in content even after clicking the 'View Diff' link repeatedly without refreshing the page. Can QE verify, if this is persistent in 6.2?

Comment 6 Satellite Program 2018-02-21 16:51:07 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, 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-2018:0336