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

Nuget local repository may return incorrect version as IsLatestVersion=true

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 6.17.0, 6.18.1, 7.3.2, 7.4.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Having the following package versions, for example, inside a local nuget repository:
       
      Sample.Package.1.1.0.0.nupkg
      Sample.Package.1.1.0.1.nupkg
      ...
      Sample.Package.1.2.0.0.nupkg
      ...
      Sample.Package.1.3.0.8.nupkg
      ...
      Sample.Package.1.3.0.66.nupkg

       
      The queries below may return incorrect IsLatestVersion, for example, 1.3.0.8 instead of 1.3.0.66.

      GET api/nuget/nuget-local/FindPackagesById()?id='Sample.Package'&$skip=0&$top=40&$filter=IsLatestVersion
      
      GET api/nuget/nuget-local/FindPackagesById()?id='Sample.Package'&$skip=0&$top=40
      GET api/nuget/nuget-local/FindPackagesById()?id='Sample.Package'&$skip=40&$top=40
      GET api/nuget/nuget-local/FindPackagesById()?id='Sample.Package'&$skip=80&$top=40
      GET api/nuget/nuget-local/FindPackagesById()?id='Sample.Package'&$skip=120&$top=40 ... 
      

       

       

        Attachments

          Activity

              People

              Assignee:
              inbart Inbar Tal [X] (Inactive)
              Reporter:
              valeriyp Valeriy Petrov
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: