Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-24833

After doing "Export assets" task then "Import external files" does not preserve lastBlobUpdated (last_updated)

    XMLWordPrintable

    Details

      Description

      SYMPTOM

      Ran "Export assets" from node A, then ran "Import external files" on node B.
      Tried to setup a cleanup policy with "Published Before" days, but the preview doesn't show any component, even with "1" day.

      REPRODUCE STEPS

      1. Find a Nexus which has some maven proxy or hosted repository which has a few days old components (eg: maven-central)
      2. Run "Export assets" (and copy the exported directory to a new Nexus node)
      3. Install a new Nexus 3.25.1, then create a new maven2 hosted repo
      4. Run "Import external files" task against this new hosted repo
      5. Create a new Cleanup Policy with Published Before "1".

      EXPECTED BEHAVIOUR

      Export / Import task should preserve not only the Last Downloaded date but also the Published date.

        Attachments

          Activity

            People

            Assignee:
            sdelvalle Santiago Del Valle
            Reporter:
            hosako Hajime Osako
            Last Updated By:
            Joseph Stephens
            Team:
            NXRM - Neo
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title

                  PagerDuty