Skip to content
Snippets Groups Projects
Commit 8810324c authored by felmer's avatar felmer
Browse files

bug fixed: also fill space, registrator, registration date into Sample instance

SVN: 15288
parent f5ad94b2
No related branches found
No related tags found
No related merge requests found
......@@ -184,6 +184,9 @@ public class ExternalDataTranslator
sample.setSampleType(TypeTranslator.translate(samplePE.getSampleType()));
sample.setIdentifier(StringEscapeUtils
.escapeHtml(samplePE.getSampleIdentifier().toString()));
sample.setRegistrationDate(samplePE.getRegistrationDate());
sample.setRegistrator(PersonTranslator.translate(samplePE.getRegistrator()));
sample.setSpace(GroupTranslator.translate(samplePE.getGroup()));
if (loadSampleProperties)
{
sample.setProperties(EntityPropertyTranslator.translate(samplePE.getProperties(),
......
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