Bug 1223968 - Duplicated content listed as available for inclusion
Summary: Duplicated content listed as available for inclusion
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Walden Raines
QA Contact: Og Maciel
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-21 20:08 UTC by Og Maciel
Modified: 2017-02-23 20:00 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 14:00:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
before (124.48 KB, image/png)
2015-05-21 20:08 UTC, Og Maciel
no flags Details
after (140.70 KB, image/png)
2015-05-21 20:08 UTC, Og Maciel
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 10617 0 None None None 2016-04-22 15:58:48 UTC

Description Og Maciel 2015-05-21 20:08:22 UTC
Created attachment 1028386 [details]
before

Description of problem:

I started noticing that when adding content from a list (such as adding Docker products to a content view or subscriptions to an activation key), the minute you add the selected item and the page refreshes, you start seeing duplicated entries of the items you did not select. See the attached before and after screenshots to see how I have 3 different Docker products and once I select the 'RHEL 7' product, the UI displays the remaining 'CentOS' and 'WordPress' products twice.

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


How reproducible:


Steps to Reproduce:
1. Create a custom product
2. Create 3 Docker-based custom repositories
3. Sync them (not sure if necessary)
4. Create a content view and add 1 of the 3 custom repos

Actual results:

Once you add the repository via the web ui, the remaining list of repos shows duplicates

Expected results:


Additional info:

Comment 1 Og Maciel 2015-05-21 20:08:44 UTC
Created attachment 1028387 [details]
after

Comment 2 Og Maciel 2015-05-21 20:09:23 UTC
Used Chrome browser Version 42.0.2311.152 (64-bit) on Mac OS

Comment 4 Walden Raines 2015-05-26 18:59:10 UTC
Created redmine issue http://projects.theforeman.org/issues/10617 from this bug

Comment 5 Walden Raines 2015-05-26 19:10:29 UTC
I couldn't reproduce the issue on the Activation Keys subscription page but I was able to reproduce it for content view repositories.

PR:  https://github.com/Katello/katello/pull/5249

Comment 6 Bryan Kearney 2015-06-04 18:05:55 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/10617 has been closed
-------------
Walden Raines
Applied in changeset commit:katello|38420e5e1d330ddbbaf1ae4b8b5f1840bee7e394.

Comment 9 Og Maciel 2015-06-10 22:14:22 UTC
I verified this issue by:

* Testing that adding/removing synchronized YUM repositories to a content view did not cause the duplicated issue as stated in the BZ
* Testing that adding/removing synchronized DOCKER repositories to a content view did not cause the duplicated issue as stated in the BZ
* Testing that adding/removing subscriptions to an activation key did not cause the duplicated issue as stated in the BZ

This has been verified using a Satellite 6.1.0 SNAP 8 Compose 1 build running on RHEL 7.1

Comment 10 Bryan Kearney 2015-08-11 13:35:05 UTC
This bug is slated to be released with Satellite 6.1.

Comment 11 Bryan Kearney 2015-08-12 14:00:18 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.


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