Bug 726751 - [ipa webui] Hostgroups :: enroll :: Error 'cn' required when attempting to filter groups with hide already enrolled unchecked
Summary: [ipa webui] Hostgroups :: enroll :: Error 'cn' required when attempting to fi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.1
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-29 17:49 UTC by Jenny Severance
Modified: 2015-01-04 23:50 UTC (History)
5 users (show)

Fixed In Version: ipa-2.1.0-1.el6
Doc Type: Bug Fix
Doc Text:
Do not document
Clone Of:
Environment:
Last Closed: 2011-12-06 18:29:11 UTC
Target Upstream Version:


Attachments (Terms of Use)
screen host of error (54.04 KB, image/png)
2011-07-29 17:51 UTC, Jenny Severance
no flags Details
2nd screen shot (56.38 KB, image/png)
2011-07-29 17:55 UTC, Jenny Severance
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1533 0 normal SHIPPED_LIVE Moderate: ipa security and bug fix update 2011-12-06 01:23:31 UTC

Description Jenny Severance 2011-07-29 17:49:14 UTC
Description of problem:
The UI errors when you uncheck the aleady enrolled filter, enter a search string and click find.  See attached screen shot.

My set up has 4 host groups:
engineering
1qe
2qe
1dev
2dev

hostgroups 1qe and 1dev are enrolled in hostgroup engineering.

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


How reproducible:


Steps to Reproduce:
1.  See description for setup
2.  Identity --> Host Groups --> Member Host Groups --> Enroll
3.  Uncheck "Hide already enrolled"
4.  enter qe in filter
5.  click Find
  
Actual results:
error "'cn' is required"

Expected results:
host groups in list  to be only 1qe and 2qe

Additional info:

To note , I can see behind the pop up window that the navigation changes tabs to "Host" members when I am "Host Groups" members.

Comment 1 Jenny Severance 2011-07-29 17:49:52 UTC
This might be the same with user groups, netgroups ..  haven't tried yet.

Comment 2 Jenny Severance 2011-07-29 17:51:02 UTC
Created attachment 515918 [details]
screen host of error

Comment 3 Jenny Severance 2011-07-29 17:51:50 UTC
And I would not have expected behind the error that 1dev would be returned ?

Comment 4 Jenny Severance 2011-07-29 17:55:13 UTC
if you then close the error and cancel out of the enroll popup.  Click Enroll again - you get the enroll pop up with "Add Host Groups into Host Group Undefined"

And all host groups are listed - including the host group I am editing.  See attached.

Comment 5 Jenny Severance 2011-07-29 17:55:37 UTC
Created attachment 515919 [details]
2nd screen shot

Comment 6 Jenny Severance 2011-07-29 18:46:38 UTC
confirmed that this behavior is with User Groups too.

Comment 7 Rob Crittenden 2011-07-29 19:16:25 UTC
https://fedorahosted.org/freeipa/ticket/1548

Comment 8 Rob Crittenden 2011-08-16 13:52:24 UTC
master: b36df6e9b9c1104d37fe14782a7e21e57097a7c0

Comment 10 Rob Crittenden 2011-11-01 01:01:29 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: The error 'cn is required' would appear when attempting to filter with the Hide Already Enrolled checkbox in the Web UI. This affected all group enrollment screens.
Consequence: Clearing the error would drop the name of group you were managing, replacing it with the word undefined.
Fix: The group object is being passed internally instead of just the name of the group.
Result: Enrollment works as expected when checking Hide Already Enrolled.

Comment 11 Namita Soman 2011-11-05 20:45:27 UTC
In ipa-server-2.1.3-8.el6.x86_64, 'Hide already enrolled' button is not available. Verified.

Rob, should the tech note be revised?

Comment 12 Endi Sukma Dewata 2011-11-07 18:01:24 UTC
The checkbox has been removed in bug #729665.

Comment 13 Endi Sukma Dewata 2011-11-07 18:01:25 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,4 +1 @@
-Cause: The error 'cn is required' would appear when attempting to filter with the Hide Already Enrolled checkbox in the Web UI. This affected all group enrollment screens.
+Do not document-Consequence: Clearing the error would drop the name of group you were managing, replacing it with the word undefined.
-Fix: The group object is being passed internally instead of just the name of the group.
-Result: Enrollment works as expected when checking Hide Already Enrolled.

Comment 14 Namita Soman 2011-11-07 18:13:35 UTC
technote - this will not be doc'd since the checkbox was removed.

Comment 15 errata-xmlrpc 2011-12-06 18:29:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2011-1533.html


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