Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 641938

Summary: Manage Content Selection: A checked group w/ unchecked packages will still return the entire package group
Product: [Retired] CloudForms Cloud Engine Reporter: wes hayutin <whayutin>
Component: aeolus-conductorAssignee: Jan Provaznik <jprovazn>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: medium Docs Contact:
Priority: low    
Version: 0.3.1CC: clalance, cpelland, deltacloud-maint, jguiditt, jprovazn, sseago
Target Milestone: alpha   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://10.11.231.218/deltacloud/templates/new
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 642820    

Description wes hayutin 2010-10-11 14:58:27 UTC
Description of problem:
Manage Content Selection: A checked group w/ unchecked packages will still return the entire package group

Recreate:
1. navigate to create a template, click add packages
2. (note: tried this w/ @Core) Check a group, unselect a couple packages. Take note of the packages you unchecked.  Click add packages.
3. Now search for the packages you unchecked.

Results:
Notice the unselected packages are in the list of packages for the template


An easier recreate is to select the group "Albanian support"
unselect moodle-sq and hunspell-sq, click add software

notice both packages are in the package template.

Expected Results:
When a package is unselected, it should not be added to the template

Comment 1 Jason Guiditta 2010-10-21 20:16:29 UTC
commit ab842d29161ae0954b6ed93007ba1ae68e656977
Author: Jan Provaznik <jprovazn>
Date:   Thu Oct 21 21:55:10 2010 +0200

    BZ #641938 - group selection without individual packages
    
    https://bugzilla.redhat.com/show_bug.cgi?id=641938
    
    Software selection: when whole group is checked and user unchecks individual
    packages, these packages are not added. Note that patch fixes this bug only for
    JS version - I think that when JS is off, user should still have chance to
    select whole group (without JS its not possible simply to select group except
    individual packages)

Comment 2 wes hayutin 2010-10-27 16:48:04 UTC
Currently with or with out javascript you are not longer able to select individual packages.

Right now you..
1. select a group
2. add packages
3. remove any packages you dont want after you have submitted the groups

It looks slightly different w/ and w/o javascript but functions the same.

Comment 3 wes hayutin 2010-10-27 17:07:18 UTC
OK..
Just to confirm.. 

I was able to click into the package groups, select a group, unselect a package from the group and that package is removed from the package selection.

This feature is working as designed..

Comment 4 wes hayutin 2011-08-01 19:59:02 UTC
release pending...

Comment 5 wes hayutin 2011-08-01 19:59:28 UTC
release pending.. 2

Comment 6 wes hayutin 2011-08-01 19:59:50 UTC
release pending...

Comment 8 wes hayutin 2011-12-08 13:57:02 UTC
perm close

Comment 9 wes hayutin 2011-12-08 13:59:41 UTC
closing out old bugs