Skip to content
Snippets Groups Projects
Commit 559e7df8 authored by felmer's avatar felmer
Browse files

weakening number of path name items for defining space and project

SVN: 15639
parent 97f4de08
No related branches found
No related tags found
No related merge requests found
......@@ -66,10 +66,10 @@ public class DataSetInfoExtractorForSearchExperiment extends AbstractDataSetInfo
{
String name = incomingDataSetPath.getName();
String[] items = StringUtils.splitByWholeSeparator(name, separator);
if (items.length != 2)
if (items.length < 2)
{
throw new UserFailureException(
"The name of the data set Should have two parts separated by '" + separator
"The name of the data set should have at least two parts separated by '" + separator
+ "': " + name);
}
ProjectIdentifier projectIdentifier = new ProjectIdentifier(items[0], items[1]);
......
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