Skip to content
Snippets Groups Projects
Commit b115bb82 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

NPE bugfix

parent 9076ef3c
No related branches found
No related tags found
No related merge requests found
...@@ -73,6 +73,10 @@ public class JWTWebServiceController { ...@@ -73,6 +73,10 @@ public class JWTWebServiceController {
private String getGroupCompleteName(GroupEntity group, Map<String, String> idNameMap) { private String getGroupCompleteName(GroupEntity group, Map<String, String> idNameMap) {
if ("ROOT".equals(group.getId())) {
return group.getName();
}
List<String> names = new ArrayList<>(); List<String> names = new ArrayList<>();
for (String groupId : group.getPath().split("\\.")) { for (String groupId : group.getPath().split("\\.")) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment