StudyManagement.ProjectInfo projectInfo = new StudyManagement.ProjectInfo(project.getName(),
project.getAreaOfResearch(), project.getDescription());
try {
studyManagement.updateProjectDetails(getUserId(principal), project.getProjectId(), projectInfo);
} catch (IllegalArgumentException e) {
return new ProjectIdResponse(0, e.getMessage(), null);
}
updatePolicy(getUserId(principal), project.getProjectId(), project);
setBlogEnabled(principal, project.getProjectId(), project.isBlogEnabled());
return new ProjectIdResponse(project.getProjectId(), null, "Project updated");
}