Skip to content

Upload new Icons/Images: WebConfigurator UI freezes #232

@alexthegreat100

Description

@alexthegreat100

Is there an existing issue for this?

  • I have searched the existing issues

Description

If a file is uploaded in the upload dialogue for icons and images that does not correspond to the dimensions 90x90 px for icons or 275 x 480 px for background images (or in the correct file format), the UI freezes.
The same happens if you accidentally click on "Upload" without first selecting a file or if you try to upload a file with an identical name (duplicate).
The only thing that helps is to reload the page.

How to Reproduce

  1. Go to "Settings"
  2. Click on "Ressources"
  3. Click on "Upload"
  4. Try to upload a file with wrong size or format
  5. Try to upload a duplicate (same file name)
  6. Click on "Upload" without selecting a file

Expected behavior

Intercept unaccepted resolutions for icons and images, duplicates and "no selection" and show a pop-up window with a warning and a "back" button.

System version

v1.5.2

What part of the system affected by the problem?

Web Configurator

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingweb configuratorWeb configurator related issue

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions