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

FindPackagesById doesn't support OData $skip

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.7.4
    • Fix Version/s: 4.8.0
    • Component/s: NuGet
    • Labels:
      None

      Description

      Our Artifactory private repository exposes a long list of the same package. More than 160 versions of this package have been published.

      In my experience, to let appear the latest version, I have to delete one of the previous ones.

      I have traced the network exchanges between the client and the server, and I suppose that the problem resides in the $skip OData operator

      GET /artifactory/api/nuget/nuget-all-public/FindPackagesById()?id='green' HTTP/1.1\r\n
      returns a list of 160 elements

      Then,
      GET /artifactory/api/nuget/nuget-all-public/FindPackagesById()?$skip=80&id='green' HTTP/1.1\r\n
      returns an empty list of elements.
      Where it should contain at least one element..

        Attachments

          Activity

            People

            Assignee:
            royz Roy Zanbel (Inactive)
            Reporter:
            nilleb Ivo Bellin Salarin
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: