You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The wrong picture is deleted when deleting a picture in a "not-default" language.
Steps to reproduce the behaviour
Go to a product having a nutrition fact picture for different languages ;
Go to 'Edit product' > 'Photos' > 'Nutrition' ;
Click on the language dropdown menu: you should see language 1 and language 2 checked.
You want to check the picture for language 2 -> you click on language 2.
A new picture (in language 2) is now displayed. Let's say you want to delete it because it is wrong for some reason ;
You click on 'unselect photo'
You're then redirected to the 'photos' menu but you can quickly realise that the picture in langage 2 has not been removed. However, the picture in language 1, which you didn't want to delete, was deleted! So the wrong picture was deleted.
Expected behavior
If I have selected 'language 2' when viewing a nutrition facts picture, and if i click on "unselect photo", then the corresponding picture should be removed, NOT another photo in the default language.
Smartphone model
Device: Redmi Note 7
OS: Lineage lavender (Android like)
App Version: 4.13.1
Additional context
The same thing happens with ingredients pictures so I assume the bug exists for all the categories of pictures.
I've finally manage to replace the photo in language 2 by:
selecting language 1
adding a new photo for language 1 (in language 2), which I should not do
selecting language 2
adding a new photo for language 2 (selecting the one I previously added for language 1)
selecting language 1
changing the picture back to the original one, which was correct in the first place
The text was updated successfully, but these errors were encountered:
What
Steps to reproduce the behaviour
Expected behavior
Smartphone model
Additional context
The text was updated successfully, but these errors were encountered: