if (checkPersonalDataForward != null) {
return checkPersonalDataForward;
}
final PhdProgramCandidacyProcessBean bean = getCandidacyBean();
if (PhdProgramPublicCandidacyHashCode.getPhdProgramCandidacyHashCode(bean.getCandidacyHashCode().getEmail(),
bean.getProgram()) != null) {
addErrorMessage(request, "error.PhdProgramPublicCandidacyHashCode.already.has.candidacy");
return fillPersonalDataInvalid(mapping, form, request, response);
}
PhdIndividualProgramProcess process =
(PhdIndividualProgramProcess) CreateNewProcess.run(PublicPhdIndividualProgramProcess.class, bean);
sendApplicationSuccessfullySubmitedEmail(bean.getCandidacyHashCode(), request);
request.setAttribute("phdIndividualProgramProcess", process);
request.setAttribute("candidacyHashCode", bean.getCandidacyHashCode());
PhdProgramPublicCandidacyHashCode candidacyProcessHashCode = process.getCandidacyProcessHashCode();
String processLink =
InstitutionPhdCandidacyProcessProperties.getPublicCandidacyAccessLink(candidacyProcessHashCode, I18N.getLocale());