Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 726751 - [ipa webui] Hostgroups :: enroll :: Error 'cn' required when attempting to filter groups with hide already enrolled unchecked
[ipa webui] Hostgroups :: enroll :: Error 'cn' required when attempting to fi...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa (Show other bugs)
6.1
Unspecified Unspecified
high Severity unspecified
: rc
: ---
Assigned To: Rob Crittenden
Chandrasekar Kannan
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-29 13:49 EDT by Jenny Galipeau
Modified: 2015-01-04 18:50 EST (History)
5 users (show)

See Also:
Fixed In Version: ipa-2.1.0-1.el6
Doc Type: Bug Fix
Doc Text:
Do not document
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-12-06 13:29:11 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1533 normal SHIPPED_LIVE Moderate: ipa security and bug fix update 2011-12-05 20:23:31 EST

  None (edit)
Description Jenny Galipeau 2011-07-29 13:49:14 EDT
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 Galipeau 2011-07-29 13:49:52 EDT
This might be the same with user groups, netgroups ..  haven't tried yet.
Comment 2 Jenny Galipeau 2011-07-29 13:51:02 EDT
Created attachment 515918 [details]
screen host of error
Comment 3 Jenny Galipeau 2011-07-29 13:51:50 EDT
And I would not have expected behind the error that 1dev would be returned ?
Comment 4 Jenny Galipeau 2011-07-29 13:55:13 EDT
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 Galipeau 2011-07-29 13:55:37 EDT
Created attachment 515919 [details]
2nd screen shot
Comment 6 Jenny Galipeau 2011-07-29 14:46:38 EDT
confirmed that this behavior is with User Groups too.
Comment 7 Rob Crittenden 2011-07-29 15:16:25 EDT
https://fedorahosted.org/freeipa/ticket/1548
Comment 8 Rob Crittenden 2011-08-16 09:52:24 EDT
master: b36df6e9b9c1104d37fe14782a7e21e57097a7c0
Comment 10 Rob Crittenden 2011-10-31 21:01:29 EDT
    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 16:45:27 EDT
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 13:01:24 EST
The checkbox has been removed in bug #729665.
Comment 13 Endi Sukma Dewata 2011-11-07 13:01:25 EST
    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 13:13:35 EST
technote - this will not be doc'd since the checkbox was removed.
Comment 15 errata-xmlrpc 2011-12-06 13:29:11 EST
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.