experimenter
experimenter copied to clipboard
The “Upload a valid image” screenshot error can be displayed for the wrong screenshot
[Steps to reproduce]:
- Have a draft open on the “Branches” section.
- Add to a branch a screenshot of a type not supported (e.g. exe).
- Add to the same branch a screenshot of a type supported (e.g. jpg).
- Click “Save”.
- Delete the invalid screenshot.
- Observe the valid screenshot.
[Expected result]:
- There is no validation error displayed for a valid screenshot.
[Actual result]:
- The “Upload a valid image. The file you uploaded was either not an image or a corrupted image” validation error is displayed for the valid screenshot that took the position of the deleted invalid screenshot.
[Notes]:
- Attached is a recording of the issue.
┆Issue is synchronized with this Jira Bug
I would like to work on this.
@sudarsan2k5 I have already assigned you to #7575. Once that is finished (or if you would rather work on this instead) then you can pick this one up 😄