{"action":"closed","issue":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/issues/291","repository_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/issues/291/labels{/name}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/issues/291/comments","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/issues/291/events","html_url":"https://github.com/wordpress-mobile/WordPress-Editor-Android/issues/291","id":135858197,"number":291,"title":"Legacy drafts with images are buggy when opened with new editor","user":{"login":"aforcier","id":9613966,"avatar_url":"https://avatars.githubusercontent.com/u/9613966?v=3","gravatar_id":"","url":"https://api.github.com/users/aforcier","html_url":"https://github.com/aforcier","followers_url":"https://api.github.com/users/aforcier/followers","following_url":"https://api.github.com/users/aforcier/following{/other_user}","gists_url":"https://api.github.com/users/aforcier/gists{/gist_id}","starred_url":"https://api.github.com/users/aforcier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aforcier/subscriptions","organizations_url":"https://api.github.com/users/aforcier/orgs","repos_url":"https://api.github.com/users/aforcier/repos","events_url":"https://api.github.com/users/aforcier/events{/privacy}","received_events_url":"https://api.github.com/users/aforcier/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/labels/media","name":"media","color":"0052cc"}],"state":"closed","locked":false,"assignee":{"login":"maxme","id":40213,"avatar_url":"https://avatars.githubusercontent.com/u/40213?v=3","gravatar_id":"","url":"https://api.github.com/users/maxme","html_url":"https://github.com/maxme","followers_url":"https://api.github.com/users/maxme/followers","following_url":"https://api.github.com/users/maxme/following{/other_user}","gists_url":"https://api.github.com/users/maxme/gists{/gist_id}","starred_url":"https://api.github.com/users/maxme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxme/subscriptions","organizations_url":"https://api.github.com/users/maxme/orgs","repos_url":"https://api.github.com/users/maxme/repos","events_url":"https://api.github.com/users/maxme/events{/privacy}","received_events_url":"https://api.github.com/users/maxme/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/milestones/9","html_url":"https://github.com/wordpress-mobile/WordPress-Editor-Android/milestones/1.0","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Editor-Android/milestones/9/labels","id":1600578,"number":9,"title":"1.0","description":"First public release","creator":{"login":"maxme","id":40213,"avatar_url":"https://avatars.githubusercontent.com/u/40213?v=3","gravatar_id":"","url":"https://api.github.com/users/maxme","html_url":"https://github.com/maxme","followers_url":"https://api.github.com/users/maxme/followers","following_url":"https://api.github.com/users/maxme/following{/other_user}","gists_url":"https://api.github.com/users/maxme/gists{/gist_id}","starred_url":"https://api.github.com/users/maxme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxme/subscriptions","organizations_url":"https://api.github.com/users/maxme/orgs","repos_url":"https://api.github.com/users/maxme/repos","events_url":"https://api.github.com/users/maxme/events{/privacy}","received_events_url":"https://api.github.com/users/maxme/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":24,"state":"open","created_at":"2016-02-23T17:15:33Z","updated_at":"2016-04-29T20:40:13Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-02-23T20:43:03Z","updated_at":"2016-04-29T20:40:13Z","closed_at":"2016-04-29T20:40:13Z","body":"Steps to reproduce:\r\n1. With the legacy editor, create a new post, insert a local image, and close the post without uploading \r\n2. Enable the new editor\r\n3. Open the draft post created in step 1\r\n4. The visual editor will show a broken image\r\n\r\nSince the legacy editor doesn't upload images until the post is published, the image has a local URL (`src=\"null\" android-uri=\"file:///storage/emulatored/0/...\"`) and the new editor can't read that. We should parse for this and trigger uploads for those images when opening the new editor."}}