Remove the requirement for a namespace ending in "/individual/" - print a warning, but go on.
This commit is contained in:
parent
1403274f72
commit
34799b02ed
1 changed files with 3 additions and 3 deletions
|
@ -97,9 +97,9 @@ public class FileStorageSetup implements ServletContextListener {
|
|||
String defaultSuffix = "/individual/";
|
||||
|
||||
if (!defaultNamespace.endsWith(defaultSuffix)) {
|
||||
throw new IllegalArgumentException(
|
||||
"Default namespace does not match the expected form: '"
|
||||
+ defaultNamespace + "'");
|
||||
log.warn("Default namespace does not match the expected form "
|
||||
+ "(does not end with '" + defaultSuffix + "'): '"
|
||||
+ defaultNamespace + "'");
|
||||
}
|
||||
|
||||
return Collections.singleton(defaultNamespace);
|
||||
|
|
Loading…
Add table
Reference in a new issue