IGroupMember member = authorizationService.getGroupMember(principal);
principalBean = new JsonEntityBean(member, EntityEnum.PERSON);
String name = groupListHelper.lookupEntityName(principalBean);
principalBean.setName(name);
}
<BUG>if (!form.getGroups().contains(principalBean)) {

form.addGroup(principalBean);
</BUG>
}

IGroupMember member = authorizationService.getGroupMember(principal);
principalBean = new JsonEntityBean(member, EntityEnum.PERSON);
String name = groupListHelper.lookupEntityName(principalBean);
principalBean.setName(name);
}
if (!form.getPrincipals().contains(principalBean)) {
form.addPrincipal(principalBean);
}
