diff --git a/openbis/source/java/ch/ethz/sis/openbis/generic/server/asapi/v3/executor/dataset/UpdateDataSetPhysicalDataExecutor.java b/openbis/source/java/ch/ethz/sis/openbis/generic/server/asapi/v3/executor/dataset/UpdateDataSetPhysicalDataExecutor.java index a094c1407bffb79e625be36c8c17a741f6ccac15..c36d9bfb854a14e7ccf6085a63f8cafb467ab016 100644 --- a/openbis/source/java/ch/ethz/sis/openbis/generic/server/asapi/v3/executor/dataset/UpdateDataSetPhysicalDataExecutor.java +++ b/openbis/source/java/ch/ethz/sis/openbis/generic/server/asapi/v3/executor/dataset/UpdateDataSetPhysicalDataExecutor.java @@ -52,7 +52,7 @@ public class UpdateDataSetPhysicalDataExecutor implements IUpdateDataSetPhysical if (physicalData != null && physicalData.getValue() != null) { FieldUpdateValue<Boolean> archivingRequested = physicalData.getValue().getArchivingRequested(); if (archivingRequested != null && archivingRequested.getValue() != null) { - externalDataPE.setArchivingRequested(dataSetUpdate.getPhysicalData().getValue().getArchivingRequested().getValue()); + externalDataPE.setArchivingRequested(archivingRequested.getValue()); } } }