A follow-up to
NEXUS-30694, the same issue is still occurring for maven versions where a random order is being returned.
1. Uploaded two snapshots to 3.38:
2. Call the search/assets/download REST API, to retrieve the latest version e.g.
And note the version returned.
3. Then repeat steps 1-2 again and note that the latest timestamped snapshot is not returned. Instead the order is random.
For the given version strings e.g.
It seems to be much the same as
NEXUS-30694 where the "normalized_version" is returning the same values resulting in an unpredictable order e.g.
However please be aware it is not just Snapshot versions affected, Release versions with a similar string also have the same issue e.g.
Versions should be sorted in alpha-numeric order.