-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Severity:Critical
-
Regression:Yes
Problem Statement:
In Artifactory version 6.19 - the NuGet virtual repository is not looking for artifact versions beyond the first 80 entries until a version beyond 80 entries is specified.
Impact:
The existing builds of the customers using Nuget virtual repositories will fail automatically due to this.
Steps to reproduce:
- Use Artifactory v6.19
- Follow set me up steps for resolving package FluentAssertions from remote repository and similarly from Virtual repository - notice the difference in the version of package donwloaded.
Actual results:
Downloaded version from remote and virtual repositories is different for the same package.
Expected results:
Downloaded version from remote and virtual repositories should be same.
On debugging further, I found the issue is happening due to first 80 entries only being looked for from Virtual repositories, i.e. in Artifactory 6.12.x:
GET http://mill.jfrog.info:12570/artifactory/api/nuget/nuget/FindPackagesById()?id='FluentAssertions'&semVerLevel=2.0.0 OK http://mill.jfrog.info:12570/artifactory/api/nuget/nuget/FindPackagesById()?id='FluentAssertions'&semVerLevel=2.0.0 2159ms GET http://mill.jfrog.info:12570/artifactory/api/nuget/nuget/FindPackagesById()?semVerLevel=2.0.0&id='FluentAssertions'&%24skip=80 OK http://mill.jfrog.info:12570/artifactory/api/nuget/nuget/FindPackagesById()?semVerLevel=2.0.0&id='FluentAssertions'&%24skip=80 1306ms GET http://mill.jfrog.info:12570/artifactory/api/nuget/nuget/FindPackagesById()?semVerLevel=2.0.0&id='FluentAssertions'&%24skip=94 OK http://mill.jfrog.info:12570/artifactory/api/nuget/nuget/FindPackagesById()?semVerLevel=2.0.0&id='FluentAssertions'&%24skip=94 891ms
v/s Artifactory 6.19:
GET http://mill.jfrog.info:12510/artifactory/api/nuget/nuget/Download/FluentAssertions/5.3.0 OK http://mill.jfrog.info:12510/artifactory/api/nuget/nuget/Download/FluentAssertions/5.3.0 2821ms
Workaround:
Use a remote repository instead/specify version while downloading from Virtual