Comments attachment cancelling with console error NoGUID
Summary
Comments attachments aren't letting the user cancel properly
Steps to reproduce
Pick your own image by all means, if it fails, this is the one I used to simulate:
- Go to a group
- Post the image as an attachment in the side chat.
- Delete the attachment (click the picture)
- After a few hundred MS, see an outline window pop up - error also thrown in console
Platform information
Cross-platform but replicated Chromium / Ubuntu
What is the current bug behavior?
When clicking away the image, an outline box as below appears.
What is the expected correct behavior?
Error should be handled, should not be an outline window, and the user should still be able to reupload.
Relevant logs and/or screenshots
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)