Unable to discard deleted files when parent directory is missing
When a file is deleted and when I want to discard change, if the parent directory is missing I get the error:
Failed to discard changes Error opening file “/full/path/name”: No such file or directory
If for example I create the directory "/full/path/" then it is able to discard deleted file