Bug 1575999

Summary: History of actions of content views missing after upgrade to 6.3
Product: Red Hat Satellite Reporter: Julio Entrena Perez <jentrena>
Component: Content ViewsAssignee: Andrew Kofink <akofink>
Status: CLOSED ERRATA QA Contact: Nikhil Kathole <nkathole>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.3.1CC: adujicek, inecas, mbacovsk, nkathole, pcreech
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-3.4.5.75-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1596357 (view as bug list) Environment:
Last Closed: 2018-08-22 20:07:12 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:
Bug Depends On:    
Bug Blocks: 1115190    
Attachments:
Description Flags
screenshot of UI timestamp intact after upgrade
none
screenshot of UI history of content views none

Description Julio Entrena Perez 2018-05-08 13:55:01 UTC
Description of problem:
After upgrading from Satellite 6.2(.14) to 6.3(.1) the promotion history of content views doesn't display correct information.

Version-Release number of selected component (if applicable):
satellite-6.3.1-3.el7sat

How reproducible:
Unknown.

Steps to Reproduce:
1. Upgrade to Satellite 6.3(.1).
2.
3.

Actual results:
- https://<satellite>/content_views/<cv_id>/history
  - has wrong timestamps for "Date" column (it shows the time of the upgrade to 6.3 for all entries in the table rather than the individual timestamp for each action).
  - is missing the values for "Action" column (it shows "{{ actionText(history) }}" instead of the actual action.

- https://<satellite>/content_views/<cv_id>/versions
  - same issues.

Expected results:
The timestamps and actions are preserved through the upgrade and are still available after the upgrade.

Additional info:
The list of CVs https://<satellite>/content_views does show the correct timestamp for the latest action for each CV.

Comment 4 Andrew Kofink 2018-05-22 12:33:55 UTC
Created redmine issue http://projects.theforeman.org/issues/23667 from this bug

Comment 5 Brad Buckingham 2018-06-12 13:25:40 UTC
Moving to POST, since upstream PR is merged.

Comment 7 Nikhil Kathole 2018-08-02 14:04:06 UTC
VERIFIED

Version tested:

# rpm -q satellite
satellite-6.3.3-1.el7sat.noarch

Upgraded from satellite 6.2.15 to 6.3.3 snap 2, The timestamp and history of content views found intact after upgrade.(see attachment)

Comment 8 Nikhil Kathole 2018-08-02 14:05:10 UTC
Created attachment 1472712 [details]
screenshot of UI timestamp intact after upgrade

Comment 9 Nikhil Kathole 2018-08-02 14:06:18 UTC
Created attachment 1472714 [details]
screenshot of UI history of content views

Comment 11 errata-xmlrpc 2018-08-22 20:07:12 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/RHBA-2018:2550