} else if (citation != study.getCitation()) {
study.setCitation(citation);
citation.setStudy(study);
}
if (publicationStatusUpdate != null) {
CitationStatus publicationStatus = getCitationService()
.findCitationStatusByDescription(publicationStatusUpdate);
citation.setCitationStatus(publicationStatus);
}
mStudyService.update(study);
ControllerUtil.saveStudy(request, study);
return new ModelAndView(new RedirectView("citationForm.html"));
} else if (request.getParameter(ACTION_UPDATE) != null) {
if (publicationStatusUpdate != null) {
CitationStatus publicationStatus = getCitationService()
.findCitationStatusByDescription(publicationStatusUpdate);
citation.setCitationStatus(publicationStatus);
}
//if (citation.isCitationTypeChanged()) {
Study study = ControllerUtil.findStudy(request, mStudyService);