Skip to content

Commit cb0d18f

Browse files
Attempt to catch WNPRC_EHRTest error on TeamCity
CollectionUtils.checkValueClass()
1 parent 69954cc commit cb0d18f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

laboratory/src/org/labkey/laboratory/assay/RunUploadContext.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import org.labkey.api.assay.AssayRunUploadContext;
2323
import org.labkey.api.assay.AssayService;
2424
import org.labkey.api.collections.CaseInsensitiveHashMap;
25+
import org.labkey.api.collections.CollectionUtils;
2526
import org.labkey.api.data.Container;
2627
import org.labkey.api.exp.ExperimentException;
2728
import org.labkey.api.exp.api.ExpProtocol;
@@ -64,7 +65,8 @@ public RunUploadContext(ExpProtocol protocol, ProviderType providerType, String
6465
_runProperties = new CaseInsensitiveHashMap<>(runProperties);
6566
_batchProperties = new CaseInsensitiveHashMap<>(batchProperties);
6667
_ctx = ctx;
67-
_uploadedData = uploadedData;
68+
_uploadedData = CollectionUtils.checkValueClass(uploadedData, FileLike.class);
69+
CollectionUtils.checkValueClass(_uploadedData, FileLike.class);
6870
}
6971

7072
@Override

0 commit comments

Comments
 (0)