linuxserver / Heimdall

An Application dashboard and launcher
MIT License
7.5k stars 538 forks source link

Adding predefined application fails with "Icon must be an image.", even though icon is already present #1225

Closed mihawk90 closed 9 months ago

mihawk90 commented 9 months ago

First time using this, so I'm hoping I'm not just too dumb to use this :)

When adding a pre-defined (enhanced) Application, in this case Deluge, I run into the error "Icon must be an image.", even though an image is specified by default.

Reproduction:

  1. Add new Application
  2. Application Type: Deluge
  3. Application Name and Icon are filled automatically, both in the preview in the top left as well as the fields where they are supposed to be entered; Add URL as necessary
  4. Hit Save - "Icon must be an image."

It should be noted that at this point the icon actually does get removed in the form even though it was present right after selecting the Application Type.

Right-click save-as on the Icon and then manually Uploading is a quick workaround, so the file type (SVG) shouldn't be an issue either here.

edit: I just added TrueNAS Core and AsRock Rack IPMI as another link and those ones worked perfectly fine. So it may or may not be related to the file type after all, since they are PNG.

Interestingly the SVG icons are also missing on the Heimdall Apps website, although I'm not certain this is related.

mihawk90 commented 9 months ago

Ugh, closing as duplicate of #1179 Not sure why that didn't come up in my initial search :roll_eyes: Just found it through the associated PR #1222