Bug 772169 - products and template interchange under the changeset when adding the other
Summary: products and template interchange under the changeset when adding the other
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: Katello QA List
URL:
Whiteboard:
: 766653 (view as bug list)
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2012-01-06 09:15 UTC by Kedar Bidarkar
Modified: 2019-09-26 13:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:17:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.