now connecting ideas to application periods when supervisors pre-added authors and one of the authors accept it
This commit is contained in:
parent
c98549a0f7
commit
21c75abeb7
@ -134,6 +134,9 @@ public class SupervisorIdeaServiceImpl extends AbstractQueryService<SupervisorId
|
|||||||
for (IdeaParticipation ip : idea.getIdeaParticipations())
|
for (IdeaParticipation ip : idea.getIdeaParticipations())
|
||||||
if(ip.getStudent().equals(author))
|
if(ip.getStudent().equals(author))
|
||||||
ip.setConfirmed(true);
|
ip.setConfirmed(true);
|
||||||
|
if(idea.getApplicationPeriod()==null) {
|
||||||
|
idea.setApplicationPeriod(applicationPeriodService.getCurrentPeriod(new Date(), idea.getProjectClass()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user