Composer: video source gets deleted when cancelling edit
Summary
"If I have a video and start to edit it, but then close down the editing composer, it appears that it then deleted the source video but keeps the entity?"
Steps to reproduce
- post a video
- go on your channel feed
- click edit post
- dismiss the composer and click discard
- notice that the video won't play anymore and a "There was an error displaying a media" error will be shown
Platform information
all
What is the current bug behavior?
video source gets discarded on edit
What is the expected correct behavior?
video source shouldn't be touched
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)