Skip to content
Snippets Groups Projects
Commit 28d9ca68 authored by tpylak's avatar tpylak
Browse files

fix: switched parent and container

SVN: 17381
parent 5c5620a1
No related branches found
No related tags found
No related merge requests found
......@@ -130,8 +130,8 @@ class BundleDataSetHelperRpc extends BundleDataSetHelper
Sample parentSample = getOpenbisService().tryGetSampleWithExperiment(parentIdOrNull);
sampleId = new SampleIdentifier(parentIdOrNull.getSpaceLevel(), sampleCode);
sample =
NewSample.createWithParent(sampleId.toString(), replicaSampleType,
parentIdOrNull.toString(), null);
NewSample.createWithParent(sampleId.toString(), replicaSampleType, null,
parentIdOrNull.toString());
sample.setExperimentIdentifier(parentSample.getExperiment().getIdentifier());
} else if (experimentIdOrNull != null)
{
......
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