modrinth / code

The Modrinth monorepo containing all code which powers Modrinth!
https://modrinth.com
Other
995 stars 186 forks source link

Bugged versions list with some duplicate version numbers #1748

Closed triphora closed 1 year ago

triphora commented 1 year ago

Describe the bug

This has been a bug for a while, but was only reported on Discord. Sometimes, with duplicate version numbers, certain ones in the list get duplicated or are absent entirely.

Steps to reproduce

Set multiple versions to have the same version number.

Usually this bug occurs when multiple versions have the same version number as well as the same loader and Minecraft version combination, but other times it occurs even when there are no similarities in those combinations.

Expected behavior

The list should be normal.

Additional context

Before: After:

The list is wack on knossos but fine in the API: https://staging-api.modrinth.com/v2/project/freeeedom/version?game_versions=[%221.17.1%22]&loaders=[%22fabric%22]

Fireflasher21 commented 1 year ago

Got the exact same Problem with 4 of my releases which arent showing on the Website but are available on the API. Same Mod Version 4.2 of Forge but different MC Releases with different Names and Files.

triphora commented 1 year ago

Fixed on staging in modrinth/knossos#831, will be fixed on production later today!