Affects Version/s: None
Fix Version/s: None
Component/s: REST API
Artifactory version: All 6.x and 7.x versions
DB type & Version : Derby
Is this an HA env? - No
Is this On-Prem or SaaS? - On-prem & SaaS
When executing the Artifacts With Date in Date Range ( /api/search/dates) REST API and there are no artifacts which are matching the mentioned condition, currently, it results in a 404 response as below:
We should get a response a 200 status code as the response with an empty array as the results.
Steps to reproduce:
1 – Create a local repository and deploy a few artifacts on day one.
2 – On day two, execute the same REST API by modifying the ‘from’ parameter with the current epoch time and the ‘repos’ parameter. It gives a 404 response with a "No results found” error message.
Possible workaround: No