Bug 773454

Summary: System Templates - (de)selecting [Uppercase?] packages can confuse UI - race condition?
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: WebUIAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: mmccune
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: 2012-08-22 18:18:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 747354    
Attachments:
Description Flags
screenshot none

Description Corey Welton 2012-01-11 21:16:04 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
1.  Sync RH content
2.  Create a new system template, "foobarbazquux"
3.  Red Hat Enterprise Linux Server x86_64 > Packages
4.  Start quickly +Add'ing the first 10 or so package that appear, possibly deselecting along the way, but just in general clicking a bunch down the list pretty fast.

 
Actual results:
UI seems to hang

Expected results:
System can handle selection of multiple items.

Additional info:
Strangely, not seeing anything funky show up in production.log

Comment 1 Corey Welton 2012-01-11 21:17:16 UTC
Created attachment 552237 [details]
screenshot

Comment 2 Corey Welton 2012-01-11 21:22:49 UTC
Actually, it is strange, a) I don't think can select anything beyond the first three listed (389*) and b) removing any of those while stuck in a wait state clears said state.

Comment 3 Corey Welton 2012-01-12 14:26:19 UTC
actually, I suspect (though can't currently confirm) that this is related to bug #773658.  In that bug, a user cannot search for packages that start with uppercase names. In this bug, users cannot _add_ similar packages from the left pane.

Comment 4 Brad Buckingham 2012-01-20 01:22:05 UTC
commit - 8d0c39eb892436d59fd0d748a05a91807264eaee

The above commit reverts the code to use the pulp api directly to retrieve package details.  This is the original implementation and it works.  The code causing the issue was attempting to use elastic search to retrieve package details.  Created bug 783329 to track addressing that issue and move system templates to using it.

Comment 5 Corey Welton 2012-01-25 16:41:31 UTC
QA Verified.

Comment 6 Mike McCune 2012-01-26 19:08:25 UTC
mass ON_QA move

Comment 8 Corey Welton 2012-02-01 04:17:02 UTC
Oops, marking this verified.

Comment 10 Mike McCune 2013-08-16 18:08:30 UTC
getting rid of 6.0.0 version since that doesn't exist