Fix issue with file imports (ref #7184)
This commit is contained in:
parent
7a7f12b83a
commit
cecc59eba6
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue