[RTFACT-12776] NuGet virtual repo produces a NPE with $batch requests Created: 02/Nov/16 Updated: 17/Sep/20 Resolved: 06/Dec/18
|Project:||Artifactory Binary Repository|
|Reporter:||Uriah Levy||Assignee:||Lior Gur (Inactive)|
Virtual Nuget repositories delegates nuget API requests to its aggregated repos. With $batch request specifically, the virtual delegation doesn't create a proper request handler for $batch requests and that causes a NPE - see attached stacktrace
|Comment by Lior Gur (Inactive) [ 06/Dec/18 ]|
I was trying to reproduce the issue using several nuget client (2.8.6, 3 and 4)
but i reproduce the issue.
The only way to reproduce it is with curl.
before the fix all batch request returned 400 Bad Request.
The syntax for the request in the body that we support is like this:
for now the following syntax is not supported: