Skip to content

Version pages display outdated game versions once edited. #4420

@kkiris

Description

@kkiris

Please confirm the following.

What browsers are you seeing the problem on?

Firefox, Safari

Describe the bug

The "Game versions" section of the "Metadata" on the page for a project version does not update after editing the version, leading to an outdated list of game versions being displayed. The "Game version" column in the project's version list does update after editing, which leads to a mismatch between the pages as well.

Steps to reproduce

  1. Go to the version page for a project you have privileges to edit (e.g., https://modrinth.com/resourcepack/mce-mud/version/0.13)
  2. Click "Edit", then add more game versions and click "Save"
  3. Observe the outdated "Game version" field in the metadata
  4. Hard refresh the page (bypass browser cache) or use another browser/device, and observe that the issue persists
  5. Navigate to the project's version list (Click "Versions" in the navigation bar below the project banner)
  6. Observe the updated value under the "Game version" column (mismatched from the metadata on the version page)

Expected behavior

The "Game versions" field of the metadata section of the version page would update after being edited (or at least after a hard refresh).
The "Game versions" field on the version page would display the same versions as the "Game version" column of the project's version list.

Additional context

Metadata while editing the version:
Image

Metadata when viewing the version page:
Image

Metadata in the project's version list:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwebRelates to Modrinth.com web frontend

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions