Skip to content

[Bug] - Opening empty yaml files in the configuration UI throws a disallowed MIME type error #1548

Open
@danipaniii

Description

@danipaniii

Describe the bug
In the config ui, when opening an empty yaml file, an error message gets thrown because of a disallowed MIME type.

To Reproduce
Steps to reproduce the behavior:

  1. Go in the config ui to the configuration tab
  2. Create an empty yaml file
  3. Click on it
  4. See error

Expected behavior
Empty yaml files can be handled without throwing an error message.

Additional information (screenshots, stack traces, etc.)
weird_next_issue

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser firefox
  • Version 107

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions