String reallyDuplicate2 = getResources(req).getMessage(locale,"um.reallyDuplicate2");
req.setAttribute("generalError",reallyDuplicate1 + " " + originalUserSet.getUsers().size() + " " + reallyDuplicate2);
return mapping.findForward("confirm");
}
userSetEnterOrEditForm.setConfirmationPending(false);
UserSet newUserSet = userSetManager.duplicate(originalUserSet,group,userSetEnterOrEditForm.getUserSetName(),includeUserAssignments);
checkAccessRights(req, newUserSet.getGroup());
newUserSet.setDescription(userSetEnterOrEditForm.getDescription());
newUserSet.setHidden(userSetEnterOrEditForm.getHidden()==true?1:0);
userSetManager.modifyUserSet(newUserSet);
setCurrentGroup(req, resp, group); // switch group in global group selection