Bug 772169

Summary: products and template interchange under the changeset when adding the other
Product: Red Hat Satellite Reporter: Kedar Bidarkar <kbidarka>
Component: WebUIAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: jlaska, 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:17:36 UTC Type: ---
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: 747354    

Description Kedar Bidarkar 2012-01-06 09:15:48 UTC
Created attachment 551110 [details]
Before adding the product, things seem to be right

Description of problem:

The products when added to a changeset from UI , should be visible under 
Products heading

The Templates when added to changeset from UI, should be visible under the 
Template heading.


Currently the products go under the Template section and 
Template goes under the product section.

Also care needs to be taken when mutiple products are being added.

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

How reproducible:
Need to create a changeset via UI and check 

Steps to Reproduce:
1.
2.
3.
  
Actual results:

products and template interchange under the changeset when adding the other


Expected results:

Products and template need to be under their respective sections

Additional info:

But from the CLI commands, things appear to be in order.

[root@xxxxx pulp]# katello --username admin --password admin changeset info --org ACME_Corporation --environment Dev --name "test1"
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                 Changeset Info
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Id:               3
Name:             test1
Updated At:       2012/01/06 08:44:44
State:            new
Environment Id:   4
Environment Name: Dev
Errata:
    
Products:
    Fedora15
Packages:
    
Repositories:
    
System Templates:
    Dev1 Template
Distributions:

Comment 1 Kedar Bidarkar 2012-01-06 09:17:09 UTC
Created attachment 551111 [details]
On adding the product , both get flipped

Comment 2 Justin Sherrill 2012-01-16 21:44:56 UTC
Should be fixed:

bd5c0fd9bf1de0901e36d02bc2359d350170dc91


I basically made each group its own  <ul> </ul>  and then sorted each ul group of <li>'s   instead of just sorting all <li>'s

Comment 3 Kedar Bidarkar 2012-01-24 07:32:05 UTC
This is fixed now, the products and templates do not get interchanged now.

verified with katello-194

Comment 5 Kedar Bidarkar 2012-01-31 09:56:20 UTC
*** Bug 766653 has been marked as a duplicate of this bug. ***

Comment 6 James Laska 2012-01-31 15:05:08 UTC
Also confirmed this issue is fixed in katello-0.1.200-3.el6

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