Fix mapType in Authorization Service to handle extra '.'
This commit is contained in:
parent
13665afe14
commit
3c36b2ff5d
|
@ -23,6 +23,9 @@ public class AuthorizationService {
|
||||||
} else if(type.equals("ri") && communityMap) {
|
} else if(type.equals("ri") && communityMap) {
|
||||||
type = "community";
|
type = "community";
|
||||||
}
|
}
|
||||||
|
while (type.contains(".")) {
|
||||||
|
type = type.replace(".", "_");
|
||||||
|
}
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue