{"action":"closed","issue":{"url":"https://api.github.com/repos/elementary/code/issues/273","repository_url":"https://api.github.com/repos/elementary/code","labels_url":"https://api.github.com/repos/elementary/code/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/elementary/code/issues/273/comments","events_url":"https://api.github.com/repos/elementary/code/issues/273/events","html_url":"https://github.com/elementary/code/issues/273","id":273363422,"node_id":"MDU6SXNzdWUyNzMzNjM0MjI=","number":273,"title":"Wrong behaviour when trying to open nonexistant file","user":{"login":"Janiczek","id":149425,"node_id":"MDQ6VXNlcjE0OTQyNQ==","avatar_url":"https://avatars2.githubusercontent.com/u/149425?v=4","gravatar_id":"","url":"https://api.github.com/users/Janiczek","html_url":"https://github.com/Janiczek","followers_url":"https://api.github.com/users/Janiczek/followers","following_url":"https://api.github.com/users/Janiczek/following{/other_user}","gists_url":"https://api.github.com/users/Janiczek/gists{/gist_id}","starred_url":"https://api.github.com/users/Janiczek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Janiczek/subscriptions","organizations_url":"https://api.github.com/users/Janiczek/orgs","repos_url":"https://api.github.com/users/Janiczek/repos","events_url":"https://api.github.com/users/Janiczek/events{/privacy}","received_events_url":"https://api.github.com/users/Janiczek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-13T09:36:14Z","updated_at":"2018-11-20T13:00:06Z","closed_at":"2018-11-20T13:00:06Z","author_association":"NONE","body":"Steps to reproduce:\r\n\r\n1. Open a file in Code\r\n2. Close Code\r\n3. Delete the file\r\n4. Open Code\r\n5. It tries to open the file but fails.\r\n\r\nThe errors:\r\n\r\n1. **Don't show the error message (or make it more sensible)**\r\n\r\n![error](https://user-images.githubusercontent.com/149425/32718640-fab8651e-c85d-11e7-9e02-2cc0d9cfa0f1.png)\r\n\r\nEither say something like \"The file FOO doesn't exist anymore\", which summarizes the error better than the current error, or just **fail silently (close the tab)** -- this would be preferred I think.\r\n\r\n2. **The file gets created again!**\r\n\r\nWhen Code doesn't find the file and shows the error, it creates the file again. It probably shouldn't?\r\n\r\n<bountysource-plugin>\r\n\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/51482280-wrong-behaviour-when-trying-to-open-nonexistant-file?utm_campaign=plugin&utm_content=tracker%2F61917289&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F61917289&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}
{"actor":{"display_login":"jeremypw"}}