From 5f1617d7cf10ee2ec0f2d294712c4cc17ae1e104 Mon Sep 17 00:00:00 2001 From: felmer <felmer> Date: Thu, 16 Jun 2011 11:50:20 +0000 Subject: [PATCH] LMS-2294 bug fixed SVN: 21718 --- .../screening/client/api/v1/ScreeningOpenbisServiceFacade.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/api/v1/ScreeningOpenbisServiceFacade.java b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/api/v1/ScreeningOpenbisServiceFacade.java index 09f410524bb..54f661b6076 100644 --- a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/api/v1/ScreeningOpenbisServiceFacade.java +++ b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/api/v1/ScreeningOpenbisServiceFacade.java @@ -508,7 +508,7 @@ public class ScreeningOpenbisServiceFacade implements IScreeningOpenbisServiceFa : dataSetMetadataOrNull; final DataSetOwner dataSetOwner = new DataSetOwner(DataSetOwnerType.SAMPLE, sample.getIdentifier()); - final String dataSetFolderNameOrNull = null; + final String dataSetFolderNameOrNull = dataSetFile.isDirectory() ? dataSetFile.getName() : null; final List<FileInfoDssDTO> fileInfos = getFileInfosForPath(dataSetFile); final NewDataSetDTO newDataSet = new NewDataSetDTO(dataSetMetadata, dataSetOwner, dataSetFolderNameOrNull, fileInfos); -- GitLab