refactor[AOU-1940]: don't sync publication to orci that older than 1900
1 unresolved thread
don't sync publication prior to 1900.
Closes: AOU-1940
Merge request reports
Activity
assigned to @Alicia.DeDiosFuente
added 3 commits
-
147e5226...e32bc1cf - 2 commits from branch
master
- 6fb7e36d - refactor: orci sync
-
147e5226...e32bc1cf - 2 commits from branch
added 2 commits
- Resolved by Homada.Boumedane
- Resolved by Homada.Boumedane
added 2 commits
assigned to @rodn and unassigned @Alicia.DeDiosFuente
added 2 commits
760 760 this.depositDocAdapter.setLanguages(depositDocObj, languagesList); 761 761 } 762 762 763 public Optional<Integer> getPublicationYear(Object depositDocObj) { 764 Optional<MetadataDates> first = this.depositDocAdapter.getDates(depositDocObj).stream() Il faudrait utiliser la même logique que pour calculer "globalYear" dans CommonMetadataService: prendre DATE_TYPE_PUBLICATION si elle existe, ensuite DATE_TYPE_FIRST_ONLINE si elle existe, etc. (voir ligne 540 dans CommonMetadataService). Là le code prend la première date qui matche une de ces conditions.
added 7 commits
-
7db29375...d2f4eb1c - 5 commits from branch
master
- 8886c5a8 - refactor: orci sync
- 1d56498d - refactor: orcid sync
-
7db29375...d2f4eb1c - 5 commits from branch
Please register or sign in to reply