StreetCode
StreetCode copied to clipboard
[Functional][Admin/Streetcode] Unable to edit existing Streetcode despite the appropriate image format (.jpg) was previously loaded
Environment: macOS Sonoma Version 14.6.1, Google Chrome Version 128.0.6613.138 (arm64) Reproducible: Always
Preconditions
- User is logged as admin
- Streetcode was previously created with image in .jpg format
- The Page 'Стріткоди' is opened
Steps to reproduce
- Click the 'edit' icon to edit existing Streetcode
- Input optional fields (e.g. 'Ім'я' and 'Прізвище')
- Click on the 'Опублікувати' button
- 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
related to #1785