Project

General

Profile

Revision 78e3bcbc

ID78e3bcbcb1aa34cea988cf00e50e86fb70bb87f0
Parent 567b23b7
Child 763eed56

Added by Katja Luther almost 2 years ago

ref #7929: clear the member list in group when deleting the group

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/GroupServiceImpl.java
71 71

  
72 72
        Group group = dao.findByUuid(UUID.fromString(groupUUID));
73 73
        Iterator<User> it = group.getMembers().iterator();
74
        while (it.hasNext()){
75
            it.remove();
76
        }
74
        group.getMembers().clear();
75
//        while (it.hasNext()){
76
//            it.remove();
77
//        }
77 78
        dao.delete(group);
78 79

  
79 80
    }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)