diff --git a/datastore_server/source/java/ch/systemsx/cisd/etlserver/registrator/api/v1/impl/AbstractTransactionState.java b/datastore_server/source/java/ch/systemsx/cisd/etlserver/registrator/api/v1/impl/AbstractTransactionState.java index 695c75414b5de7c5c6e2618a51c6a61612c98ebb..25299c41664ac74ad3e5f4c939274b5c0ce2fe04 100644 --- a/datastore_server/source/java/ch/systemsx/cisd/etlserver/registrator/api/v1/impl/AbstractTransactionState.java +++ b/datastore_server/source/java/ch/systemsx/cisd/etlserver/registrator/api/v1/impl/AbstractTransactionState.java @@ -164,6 +164,7 @@ abstract class AbstractTransactionState<T extends DataSetInformation> public ISample createNewSample(String sampleIdentifierString) { // TODO KE: should we create a new method with a more sensible name (createPermId()) + // TPK: yes, we should. String permId = openBisService.createDataSetCode(); Sample sample = new Sample(sampleIdentifierString, permId); samplesToBeRegistered.add(sample);