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
    • Priority: 1 - Blocker
    • Resolution: Done
    • Affects Version/s: 6.17.0, 6.18.1, 7.3.2, 7.4.1
    • Fix Version/s: 7.5.0, 6.20.0
    • Component/s: None
    • Labels:
      None
    • Severity:
      Critical
    • Regression:
      Yes

      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 (Inactive)
            Reporter:
            valeriyp Valeriy Petrov
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-21838 -
                SYNCHRONIZED
                • Last Sync Date: