Red Hat Bugzilla – Bug 726751
[ipa webui] Hostgroups :: enroll :: Error 'cn' required when attempting to filter groups with hide already enrolled unchecked
Last modified: 2015-01-04 18:50:16 EST
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.
This might be the same with user groups, netgroups .. haven't tried yet.
Created attachment 515918 [details] screen host of error
And I would not have expected behind the error that 1dev would be returned ?
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.
Created attachment 515919 [details] 2nd screen shot
confirmed that this behavior is with User Groups too.
https://fedorahosted.org/freeipa/ticket/1548
master: b36df6e9b9c1104d37fe14782a7e21e57097a7c0
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.
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?
The checkbox has been removed in bug #729665.
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.
technote - this will not be doc'd since the checkbox was removed.
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