{"action":"created","issue":{"url":"https://api.github.com/repos/mwaterfall/MWPhotoBrowser/issues/272","labels_url":"https://api.github.com/repos/mwaterfall/MWPhotoBrowser/issues/272/labels{/name}","comments_url":"https://api.github.com/repos/mwaterfall/MWPhotoBrowser/issues/272/comments","events_url":"https://api.github.com/repos/mwaterfall/MWPhotoBrowser/issues/272/events","html_url":"https://github.com/mwaterfall/MWPhotoBrowser/issues/272","id":36566662,"number":272,"title":"Error in MWPhoto.m","user":{"login":"Newsid","id":1493112,"avatar_url":"https://avatars.githubusercontent.com/u/1493112?v=3","gravatar_id":"","url":"https://api.github.com/users/Newsid","html_url":"https://github.com/Newsid","followers_url":"https://api.github.com/users/Newsid/followers","following_url":"https://api.github.com/users/Newsid/following{/other_user}","gists_url":"https://api.github.com/users/Newsid/gists{/gist_id}","starred_url":"https://api.github.com/users/Newsid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Newsid/subscriptions","organizations_url":"https://api.github.com/users/Newsid/orgs","repos_url":"https://api.github.com/users/Newsid/repos","events_url":"https://api.github.com/users/Newsid/events{/privacy}","received_events_url":"https://api.github.com/users/Newsid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2014-06-26T11:18:53Z","updated_at":"2015-05-26T07:17:20Z","closed_at":null,"body":"Hello, I found an error in MWPhoto.m\r\n\r\nWhen you load an image with local file url, you expect it enter in the if branch\r\n\r\n} else if ([_photoURL isFileReferenceURL]) {\r\n.....\r\n}\r\n\r\n\r\nbut [... isFileReferenceURL] is the wrong method of NSURL Class and it will NEVER enter in this if branch.\r\n\r\n\r\nthe correct method is [_photoURL isFileURL].\r\n\r\nI noticed it because in my project happen to have a temporary photo. The picture changes but the local file URL remains the same. \r\nWith the current configuration it ever goes in the if statement with SDWebImageManage and it re-proposed the same first image (cache) instead of the image updated.\r\n\r\nI hope it is helpfull\r\n\r\nClaudio"},"comment":{"url":"https://api.github.com/repos/mwaterfall/MWPhotoBrowser/issues/comments/105421931","html_url":"https://github.com/mwaterfall/MWPhotoBrowser/issues/272#issuecomment-105421931","issue_url":"https://api.github.com/repos/mwaterfall/MWPhotoBrowser/issues/272","id":105421931,"user":{"login":"qiulang","id":516243,"avatar_url":"https://avatars.githubusercontent.com/u/516243?v=3","gravatar_id":"","url":"https://api.github.com/users/qiulang","html_url":"https://github.com/qiulang","followers_url":"https://api.github.com/users/qiulang/followers","following_url":"https://api.github.com/users/qiulang/following{/other_user}","gists_url":"https://api.github.com/users/qiulang/gists{/gist_id}","starred_url":"https://api.github.com/users/qiulang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiulang/subscriptions","organizations_url":"https://api.github.com/users/qiulang/orgs","repos_url":"https://api.github.com/users/qiulang/repos","events_url":"https://api.github.com/users/qiulang/events{/privacy}","received_events_url":"https://api.github.com/users/qiulang/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T07:17:20Z","updated_at":"2015-05-26T07:17:20Z","body":"The issue was closed as well as #337, but the actual code was NOT changed!\r\nhttps://github.com/mwaterfall/MWPhotoBrowser/blob/master/MWPhotoBrowser/Classes/MWPhoto.m"}}