Fix on dmp persist

This commit is contained in:
Thomas Georgios Giannos 2023-11-06 17:43:03 +02:00
parent a5f46e9328
commit d3cd37d57a
1 changed files with 1 additions and 0 deletions

View File

@ -293,6 +293,7 @@ public class DmpServiceImpl implements DmpService {
DmpDescriptionTemplateEntity dmpTemplate = new DmpDescriptionTemplateEntity();
dmpTemplate.setDescriptionTemplate(model.getDescriptionTemplate());
dmpTemplate.setDmp(dmpId);
dmpTemplate.setSectionId(model.getSectionId());
dmpTemplate.setCreatedAt(Instant.now());
dmpTemplate.setUpdatedAt(Instant.now());
dmpTemplate.setIsActive(IsActive.Active);