experimenter icon indicating copy to clipboard operation
experimenter copied to clipboard

The “Upload a valid image” screenshot error can be displayed for the wrong screenshot

Open data-sync-user opened this issue 2 years ago • 2 comments

[Steps to reproduce]:

  1. Have a draft open on the “Branches” section.
  2. Add to a branch a screenshot of a type not supported (e.g. exe).
  3. Add to the same branch a screenshot of a type supported (e.g. jpg).
  4. Click “Save”.
  5. Delete the invalid screenshot.
  6. 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

data-sync-user avatar Jul 15 '22 12:07 data-sync-user

I would like to work on this.

sudarsan2k5 avatar Oct 06 '22 17:10 sudarsan2k5

@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 😄

eliserichards avatar Oct 10 '22 16:10 eliserichards