Fixed issue when creating DMP from the creation Wizard

This commit is contained in:
George Kalampokis 2020-04-28 18:27:31 +03:00
parent d67e68d0d9
commit 411de18e9f
1 changed files with 3 additions and 1 deletions

View File

@ -164,7 +164,9 @@ public class Project implements DataModel<eu.eudat.data.entities.Project, Projec
this.abbreviation = entity.getAbbreviation();
this.reference = entity.getReference();
this.uri = entity.getUri();
if (entity.getType() != null) {
this.type = entity.getType();
}
this.definition = entity.getDefinition();
this.startDate = entity.getStartdate();
this.endDate = entity.getEnddate();