Bug 847115

Summary: Extend scroll bug on content tab, with > 50 subscriptions only the first 50 will populate.
Product: Red Hat Satellite Reporter: Eric Sammons <esammons>
Component: Content ManagementAssignee: Pavel Pokorny <ppokorny>
Status: CLOSED ERRATA QA Contact: Sachin Ghai <sghai>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: achan, bkearney, dmacpher, omaciel, ppokorny, tomckay
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
In the Content tab, only the first 50 subscriptions are loaded. If the manifest has more than 50, these subscriptions are not shown on the Content tab. This provides a false representation of available subscriptions. The extend scroll on the content tab has been corrected. All subscriptions now display on the Content tab.
Story Points: ---
Clone Of:
: 847117 (view as bug list) Environment:
Last Closed: 2012-12-04 19:53:25 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: 847117    
Attachments:
Description Flags
50 of xxx results with no way to get to the remaining 239
none
looks like "vmrhsam-manifest.zip" has only 9 subscriptions in total
none
On scroll, UI loads 79 subscriptions none

Description Eric Sammons 2012-08-09 18:23:53 UTC
Description of problem:
With a headpin deployment that has 289 subscriptions, only the first 50 subscriptions can be acquired in the left pane of the tupane view.

Version-Release number of selected component (if applicable):
katello-1.0.4-1

How reproducible:
Occurs in both Firefox (Linux) and IE9 (Windows 7).

Steps to Reproduce:
1. Populate your deployment with a hundred or so subscriptions.
2. Navigate to the content tab and scroll down the left pane.
  
Actual results:
The first 25 subs will populate, scroll down and a spinner is present waiting for the next 25 to load.  Once these 25 subs have loaded you will notice that you have 50 of xxx subs in your view.  If you scroll down you will find that the spinner does not appear again nor do any additional subs.

Comment 1 Eric Sammons 2012-08-09 18:26:20 UTC
Created attachment 603329 [details]
50 of xxx results with no way to get to the remaining 239

Comment 2 Pavel Pokorny 2012-08-30 09:06:29 UTC
Fixed in fce26f0

Comment 4 Sachin Ghai 2012-09-24 03:57:40 UTC
Hi Pavel, Eric

Could you please share a subscription manifest that includes more than 50 subscriptions to test this defect. thanks

Comment 5 Sachin Ghai 2012-10-01 06:08:06 UTC
Hi Eric,  I tried the same manifest as you sent with name "vmrhsam-manifest.zip".
But After  importing this manifest, the UI shows only 9 subscriptions in total in left pane. Please see the attachment. 

Could you please share any dummy manifest that includes more than 50 subscriptions.

Comment 6 Sachin Ghai 2012-10-01 06:09:21 UTC
Created attachment 619622 [details]
looks like "vmrhsam-manifest.zip" has only 9 subscriptions in total

Comment 7 Sachin Ghai 2012-10-12 09:55:37 UTC
I tried again, but I think to list more than 50 subscriptions, first, few system needs to be registered and some subscriptions needs to be consumed by these systems. I did the same and now I can see the 79 subscriptions. I can scroll down more than 50 subscriptions, spinner is loading with bunch of 25 subscriptions in one go in the left pane of 'subscription' tab.

Comment 8 Sachin Ghai 2012-10-12 10:28:35 UTC
Created attachment 625899 [details]
On scroll, UI loads 79 subscriptions

Comment 10 errata-xmlrpc 2012-12-04 19:53:25 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.

http://rhn.redhat.com/errata/RHSA-2012-1543.html