Bug 1207496

Summary: Activation Keys: Toggles in "Product Content" are slow - need to be more responsive or use a spinner
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: Content ManagementAssignee: Tom McKay <tomckay>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: high Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: bbuckingham, ehelms, jcallaha
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/13919
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 09:14:57 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:

Description Corey Welton 2015-03-31 03:36:48 UTC
Description of problem:

When user toggles an option in Activation Key > Product Content, the backend is slow to respond, but user has no indication of this in the UI.  User can end up selecting and trying to toggle the item multiple times but it never actually changes until the backend change has been made. Very confusing user experience.


Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-7-20150324.0

How reproducible:


Steps to Reproduce:
1.  Create an activation key and assign content to it
2.  go to the Activation Key > Product Content subtab.
3.  Attempt to toggle various products/repos within the list that appears.

Actual results:

User can toggle multiple times, seemingly to no avail, until the backend triggers a refresh on the UI

Expected results:
Either we should be more responsive and/or flip it independent of the backend processing, or we should include some sort of spinner while the toggle is processing.

Additional info:

Comment 2 Tom McKay 2016-02-26 18:44:25 UTC
Created redmine issue http://projects.theforeman.org/issues/13919 from this bug

Comment 3 Bryan Kearney 2016-02-26 19:02:38 UTC
Upstream bug component is Content Management

Comment 4 Bryan Kearney 2016-02-26 23:02:33 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/13919 has been closed
-------------
Thomas McKay
Applied in changeset commit:katello|c4c9e97ef752b2ae5355ef45708cff8fa45e59f7.

Comment 5 jcallaha 2016-03-24 19:30:34 UTC
Verified in Satellite 6.2 Beta Snap 5.1. A spinner is now shown when making the changes.

Comment 8 errata-xmlrpc 2016-07-27 09:14:57 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