Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-19978

NuGet index include artifacts which have been deleted.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 6.12.0
    • Fix Version/s: None
    • Component/s: NuGet
    • Labels:
      None

      Description

      In some edge case, nuget package which have been deleted not getting removed from the repository index, therefore, client which search for it found an entry of the package but when they try to download it the operation fails.

      Steps to reproduce:
      1. Create local repository.

      2. Deploy the two attached package to it in the following order:
      Yehuda.Test.Artifact.1.0.0-master.120.nupkg
      Yehuda.Test.Artifact.1.0.0-master.121.nupkg

      3. Check that the metadata have been calculated as expected:
      http://localhost:8081/artifactory/api/nuget/nuget-local/FindPackagesById()?id=%27Yehuda.Test.Artifact%27

      4. remove the package:
      Yehuda.Test.Artifact.1.0.0-master.120.nupkg

      5. check again the repository metadata and see that the entry for the package still exist:
      http://localhost:8081/artifactory/api/nuget/nuget-local/FindPackagesById()?id=%27Yehuda.Test.Artifact%27

      Note: the issue not reproduced in every attempt, sometime the operation need to be performed 2-3 times.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                yehudah Yehuda Hadad
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: