Fix issue with file imports (ref #7184)

This commit is contained in:
George Kalampokis 2021-11-16 15:55:32 +02:00
parent 7a7f12b83a
commit cecc59eba6
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,8 @@ public class ProjectRDAMapper {
((eu.eudat.data.entities.Project) entities.get("project")).setStatus((short)1);
((eu.eudat.data.entities.Project) entities.get("project")).setCreated(new Date());
((eu.eudat.data.entities.Project) entities.get("project")).setModified(new Date());
((eu.eudat.data.entities.Project) entities.get("project")).setStartdate(new Date());
((eu.eudat.data.entities.Project) entities.get("project")).setEnddate(new Date());
((eu.eudat.data.entities.Project) entities.get("project")).setType(0);
apiContext.getOperationsContext().getDatabaseRepository().getProjectDao().createOrUpdate(((eu.eudat.data.entities.Project) entities.get("project")));
for (int i = 0; i < rda.getFunding().size(); i++) {