Priority: 4 - Normal
Affects Version/s: None
Fix Version/s: 6.12.0
Retrieve Latest Artifact Rest API not working properly for non-maven artifacts.
If you run the following rest api command:
It will retrieve the latest artifact uploaded and not the latest version.
Step to reproduce:
1.) Setup an Artifactory instance with a generic repository. We used the following layout:
2.) upload an artifact following the layout of the repository for example artifact-0.3.3.zip
3.) upload another artifact following the layout of the repository for example artifact-0.2.3.zip
4.) Run the Rest api call. Expected result is artifact-0.3.3.zip but the return output will be artifact-0.2.3.zip.
We also test this using the following layout:
However we received the following massage when using [fileItegRev] in the layout:
"errors" : [