Bug 1240795

Summary: Publishing content view does not display the package and errata counts immediately
Product: Red Hat Satellite Reporter: sthirugn <sthirugn>
Component: Content ManagementAssignee: Walden Raines <walden>
Status: CLOSED ERRATA QA Contact: sthirugn <sthirugn>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, kbidarka, sghai
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14827
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:12:31 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
screenshot none

Description sthirugn@redhat.com 2015-07-07 19:02:29 UTC
Created attachment 1049526 [details]
screenshot

Description of problem:
Publishing content view does not display the package and errata counts

Version-Release number of selected component (if applicable):
Sat 6.1 GA Snap 11

How reproducible:
Always

Steps to Reproduce:
1. Create a content view and publish it

Actual results:
The publish completed with a success message.  Notice that the Content column is showing empty (see screenshot) after the publish is completed

Expected results:
The Content column should show the package and errata counts

Additional info:
Once you go to another page and come back, the content column is populated fine.  So this just looks like a page/content refresh issue.

Comment 2 Brad Buckingham 2016-04-25 15:22:50 UTC
*** Bug 1329977 has been marked as a duplicate of this bug. ***

Comment 3 Walden Raines 2016-04-26 16:01:02 UTC
Created redmine issue http://projects.theforeman.org/issues/14827 from this bug

Comment 4 Bryan Kearney 2016-04-26 17:17:11 UTC
Upstream bug component is Content Management

Comment 5 Walden Raines 2016-04-26 18:55:33 UTC
PR - https://github.com/Katello/katello/pull/6000

Comment 6 Walden Raines 2016-04-27 21:37:08 UTC
*** Bug 1320495 has been marked as a duplicate of this bug. ***

Comment 7 Walden Raines 2016-04-27 21:37:50 UTC
Please also verify bug #1320495 when verifying this bug as the error mentioned there should have been fixed with the fix for this bug.

Comment 8 Walden Raines 2016-05-02 14:30:52 UTC
This has been merged to master:

commit 145527533a65840058f24d453884772d37d20385
Merge: d6738d7 8ce01bc
Author: Walden Raines <walden>
Date:   Thu Apr 28 09:28:04 2016 -0400

    Merge pull request #6000 from waldenraines/14827
    
    Fixes #14872: ensure content counts are displayed after publish.


commit 8ce01bca21b26367793fc6ca3345073e6d08f2ef
Author: Walden Raines <walden>
Date:   Tue Apr 26 12:03:13 2016 -0400

    Fixes #14872: ensure content counts are displayed after publish.
    
    Fix the logic of the updateVersion() function to properly add new version
    to the top of the table.
    
    http://projects.theforeman.org/issues/14827

Comment 9 Kedar Bidarkar 2016-05-24 12:27:15 UTC
Publishing content view now displays the package and errata counts immediately without having to navigate away from the page and navigate back.

VERIFIED with sat62-snap12.1

Comment 10 Bryan Kearney 2016-07-27 11:12:31 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-2016:1501