Skip to content

Model detail page fails to match downloaded "Unknown" type files #1679

Description

@inkbottle-9

What happened?

Some files on model pages display an "Unknown" type. They can still be downloaded, and the downloaded model can still be found in the model manager, but the model detail page fails to match the downloaded content.

This issue is extremely detrimental to model file management. Many model files have very similar or even identical filenames, which leads to serious confusion.

Steps to reproduce

For example, I downloaded this file:

Image

It can be found in the model manager:

Image

But after downloading, the "Files" section on the model detail page remains unchanged and does not show "Installed" or the delete button:
Image

The version tag bar also does not display the checkmark that should appear when a file is downloaded:

Image

Under normal circumstances, it should look like this:

Image Image

Relevant logs

Version

v2.16.1

What Operating System are you using?

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions