Skip to content
Snippets Groups Projects
Commit 3662dde8 authored by juanf's avatar juanf
Browse files

SSDM-13195 : Reverting changes to fetch Parent/Children in Master

parent 55b3bbb2
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -152,6 +152,7 @@ abstract class AbstractSampleBusinessObject extends AbstractSampleIdentifierBusi
updateModifierAndModificationDate(experimentPE);
final SamplePE samplePE = new SamplePE();
samplePE.setPermId(getOrCreatePermID(newSample));
samplePE.setExperiment(experimentPE);
samplePE.setCode(sampleIdentifier.getSampleSubCode());
PersonPE registrator = registratorOrNull != null ? registratorOrNull : findPerson();
......@@ -165,7 +166,6 @@ abstract class AbstractSampleBusinessObject extends AbstractSampleIdentifierBusi
String containerIdentifier = newSample.getContainerIdentifierForNewSample();
setContainer(sampleIdentifier, samplePE, containerIdentifier,
newSample.getDefaultSpaceIdentifier());
samplePE.setPermId(getOrCreatePermID(newSample));
if (newSample.getParentsOrNull() != null)
{
final String[] parents = newSample.getParentsOrNull();
......
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