Error uploading a new logo file

Description

If I try to upload a new logo file on the Contact information page (https://valghalla-internal.azurewebsites.net/administration/web/contact-information) and a file is already present, I get an error. I was expecting the existing file to be replaced by the new one. I have to delete the old file, before I can upload a new one.

Steps to reproduce

  1. Go to Admin/Web/Contact information page (https://valghalla-internal.azurewebsites.net/administration/web/contact-information)

  2. Make sure a logo file is already uploaded

  3. Upload new file

  4. See new file listed under upload area

  5. Click OK

  6. See error: Error occurred when uploading file

     

  7. OK-button turns into eternal spinner

Acceptance criteria

  1. When a user tries to upload a new logo by clicking the upload area or dragging it to the upload area, show a dialog:

    1. "You are about to replace the current logo. Are you sure you want to proceed?”

    2. Primary button [Replace] Secondary button [Cancel]

  2. Clicking Replace will replace the old logo with the new one

  3. Clicking Cancel closes dialog and nothing else

  4. Click OK-button replaces old file with new one

How to test

None

Attachments

1

Activity

Show:

Details

Assignee

Reporter

Priority

Created 29 May 2024 at 11:28
Updated 4 March 2025 at 11:34