Skip to content
Snippets Groups Projects

fix(validation): [AOU-1988] do not try to create doctor infos file when thesis are updated in batch

3 files
+ 17
7
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -426,6 +426,7 @@ public class PublicationService extends AouResourceService<Publication> {
|| publication.getSubtype().getResId().equals(AouConstants.DEPOSIT_SUBTYPE_THESE_DOCTORAL_PROFESSIONAL_ID))
&& !this.metadataService.isBefore2010orBeforeAuthorJoiningUnige(publication))
&& (!this.historyService.hasBeenUpdatingMetadata(publication.getResId())
&& !this.historyService.hasBeenUpdatingMetadataInBatch(publication.getResId())
&& !publication.getStatus().equals(PublicationStatus.IN_EDITION))) {
this.generateThesisAgreement(publication);
}
Loading