StreetCode icon indicating copy to clipboard operation
StreetCode copied to clipboard

[Functional][Admin/Streetcode] Unable to edit existing Streetcode despite the appropriate image format (.jpg) was previously loaded

Open mozhaieva opened this issue 1 year ago • 1 comments

Environment: macOS Sonoma Version 14.6.1, Google Chrome Version 128.0.6613.138 (arm64) Reproducible: Always

Preconditions

  1. User is logged as admin
  2. Streetcode was previously created with image in .jpg format
  3. The Page 'Стріткоди' is opened

Steps to reproduce

  1. Click the 'edit' icon to edit existing Streetcode
  2. Input optional fields (e.g. 'Ім'я' and 'Прізвище')
  3. Click on the 'Опублікувати' button
  4. Confirm the changes by clicking 'Гаразд' on modal window 'Ви впевнені, що хочете опублікувати цей стріткод?'

Actual result Streetcode hasn't been edited The Message 'Тільки файли з розширенням webp, jpeg, png, jpg дозволені!' appears

Expected result Streetcode has been edited The message 'Стріткод успішно оновлений' appears

https://github.com/user-attachments/assets/8f13b5a8-ed0e-4f59-a2e7-35f4c95e287d

**User story **#115

mozhaieva avatar Sep 26 '24 09:09 mozhaieva

related to #1785

mythter avatar Sep 30 '24 11:09 mythter