Skip to content
Snippets Groups Projects

refactor[AOU-1940]: don't sync publication to orci that older than 1900

Merged Homada.Boumedane requested to merge aou-1940_dont_snyc_publication_older_than_1900 into master
1 unresolved thread

don't sync publication prior to 1900.

Closes: AOU-1940

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 2 commits

    Compare with previous version

  • assigned to @rodn and unassigned @Alicia.DeDiosFuente

  • Nicolas.Rod added 2 commits

    added 2 commits

    Compare with previous version

  • Nicolas.Rod
    Nicolas.Rod @rodn started a thread on the diff
  • 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.

    • Le OR est la pour cela justement, si DATE_TYPE_FIRST_ONLINE existe elle sera prise sinon DATE_TYPE_FIRST_ONLINE etc ...

    • Please register or sign in to reply
  • added 2 commits

    • 4891abf2 - fix: [AOU-1967] deposit with collaboration should not open automatically the...
    • 5698103d - refactor: orcid sync

    Compare with previous version

  • added 3 commits

    Compare with previous version

  • Nicolas.Rod added 7 commits

    added 7 commits

    Compare with previous version

  • merged

  • Please register or sign in to reply
    Loading