From e871068443d6fcfecb089dca1f55c9d6ffd572c2 Mon Sep 17 00:00:00 2001 From: amentis Date: Mon, 29 Apr 2024 14:35:11 +0300 Subject: [PATCH] new version small fix --- .../src/main/java/org/opencdmp/service/dmp/DmpServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/core/src/main/java/org/opencdmp/service/dmp/DmpServiceImpl.java b/backend/core/src/main/java/org/opencdmp/service/dmp/DmpServiceImpl.java index 413212986..c429b52f2 100644 --- a/backend/core/src/main/java/org/opencdmp/service/dmp/DmpServiceImpl.java +++ b/backend/core/src/main/java/org/opencdmp/service/dmp/DmpServiceImpl.java @@ -383,6 +383,7 @@ public class DmpServiceImpl implements DmpService { newDmp.setStatus(DmpStatus.Draft); newDmp.setProperties(oldDmpEntity.getProperties()); newDmp.setBlueprintId(model.getBlueprintId()); + newDmp.setAccessType(oldDmpEntity.getAccessType()); newDmp.setCreatorId(this.userScope.getUserId()); this.entityManager.persist(newDmp);