Bug 841013

Summary: Screen locked by a persistent error message when the same distro is added to a changeset twice
Product: Red Hat Satellite Reporter: Tomas Strachota <tstrachota>
Component: WebUIAssignee: Marek Hulan <mhulan>
Status: CLOSED UPSTREAM QA Contact: Og Maciel <omaciel>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: mhulan, mmccune, omaciel
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: 2013-09-19 18:12:38 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
reproducer help script none

Description Tomas Strachota 2012-07-17 21:14:22 UTC
Created attachment 598750 [details]
screenshot

Description of problem:
After an attempt to add the same distribution to a changeset twice a message box without any close button pops up. It blocks the screen and a user must reload it to continue.


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

How reproducible:
always

Steps to Reproduce:
1. run the reproducer script
2. in UI navigate to Content Management > Promotions > Locker > changeset cs2
3. from product zoo add distro ks-Animals-TestVariant-12-x86_64 
4. add the same distro from the product zoo2
  
Actual results:
A validation error occurs and a hole browser screen gets locked with a persistent message box (see the screenshot attached). You can move it, resize it but there is no way how to close it. The only way out is to reload the page.

Expected results:
Some non-blocking output.

Additional info:

Comment 1 Tomas Strachota 2012-07-17 21:17:39 UTC
Created attachment 598751 [details]
reproducer help script

Comment 3 Marek Hulan 2013-02-08 11:07:54 UTC
We agreed with Tomas Strachota that blocking notifications are ok for system errors. Since this was an error in our logic the bug is solved by allowing two distributions with the same name if they are not in a same product.

Comment 5 Mike McCune 2013-09-19 18:12:38 UTC
These bugs have been resolved in upstream projects for a period of months so I'm mass-closing them as CLOSED:UPSTREAM.  If this is a mistake feel free to re-open.