-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
-
1.0
When making the following request to the REST API:
http://localhost:8080/jenkins/blue/rest/search/?q=type:pipeline;excludedFromFlattening:jenkins.branch.MultiBranchProject,hudson.matrix.MatrixProject&filter=no-folders&start=0&limit=26
The response contains a Link header with the following value:
</jenkins/blue/rest/search/?q=type:pipeline;excludedFromFlattening:jenkins.branch.MultiBranchProject,hudson.matrix.MatrixProject&filter=no-folders&start=0&limit=26&start=26&limit=26>; rel="next"
The "start" and "limit" parameters are duplicated, and following that link actually returns the same data set as the initial request. Presumably Stapler handles duplicate query param such that the first value "wins"?
Note that this doesn't currently cause any bugs in the Blue Ocean UI as we manage the "start" and "limit" parameters manually. From that perspective it is a low priority bug.