Skip to content
Snippets Groups Projects
Commit f222451e authored by srosse's avatar srosse
Browse files

OO-3799: no path to default quota

parent 8176f803
No related branches found
No related tags found
No related merge requests found
......@@ -527,7 +527,7 @@ public class QuotaManagerImpl implements QuotaManager, InitializingBean {
private String getDefaultQuotaIdentifier(String path) {
String identifier = QuotaConstants.IDENTIFIER_DEFAULT;
if(path.startsWith(QuotaConstants.IDENTIFIER_DEFAULT)) {
if(path == null || path.startsWith(QuotaConstants.IDENTIFIER_DEFAULT)) {
identifier = path;
} else if(path.startsWith("/cts/folders/BusinessGroup/")) {
identifier = QuotaConstants.IDENTIFIER_DEFAULT_GROUPS;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment