new version small fix
This commit is contained in:
parent
ebbc92b908
commit
e871068443
|
@ -383,6 +383,7 @@ public class DmpServiceImpl implements DmpService {
|
||||||
newDmp.setStatus(DmpStatus.Draft);
|
newDmp.setStatus(DmpStatus.Draft);
|
||||||
newDmp.setProperties(oldDmpEntity.getProperties());
|
newDmp.setProperties(oldDmpEntity.getProperties());
|
||||||
newDmp.setBlueprintId(model.getBlueprintId());
|
newDmp.setBlueprintId(model.getBlueprintId());
|
||||||
|
newDmp.setAccessType(oldDmpEntity.getAccessType());
|
||||||
newDmp.setCreatorId(this.userScope.getUserId());
|
newDmp.setCreatorId(this.userScope.getUserId());
|
||||||
|
|
||||||
this.entityManager.persist(newDmp);
|
this.entityManager.persist(newDmp);
|
||||||
|
|
Loading…
Reference in New Issue