Commit 4c72ca86 authored by Adrian Damian's avatar Adrian Damian
Browse files

Fixed bug

parent f242ef77
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -537,16 +537,19 @@ public class LdapGroupDAO<T extends Principal> extends LdapDAO
                        {
                            try
                            {
                                String memberGroupID = 
                                        memberDN.getRDNString().replace("cn=", "");
                                ldapGroup.getGroupMembers().
                                    add(getGroup(memberGroupID));
                                    add(getGroup(memberDN));
                            }
                            catch(GroupNotFoundException e)
                            {
                                // ignore as we are not cleaning up
                                // deleted groups from the group members
                            }
                            catch (UserNotFoundException e)
                            {
                                throw new RuntimeException(
                                    "BUG: group owner not found");
                            }
                        }
                        else
                        {