{"action":"created","issue":{"url":"https://api.github.com/repos/emberjs/data/issues/3704","repository_url":"https://api.github.com/repos/emberjs/data","labels_url":"https://api.github.com/repos/emberjs/data/issues/3704/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/data/issues/3704/comments","events_url":"https://api.github.com/repos/emberjs/data/issues/3704/events","html_url":"https://github.com/emberjs/data/issues/3704","id":103282099,"number":3704,"title":"findRecord with { reload: true } does not reload cached record","user":{"login":"irnc","id":486101,"avatar_url":"https://avatars.githubusercontent.com/u/486101?v=3","gravatar_id":"","url":"https://api.github.com/users/irnc","html_url":"https://github.com/irnc","followers_url":"https://api.github.com/users/irnc/followers","following_url":"https://api.github.com/users/irnc/following{/other_user}","gists_url":"https://api.github.com/users/irnc/gists{/gist_id}","starred_url":"https://api.github.com/users/irnc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irnc/subscriptions","organizations_url":"https://api.github.com/users/irnc/orgs","repos_url":"https://api.github.com/users/irnc/repos","events_url":"https://api.github.com/users/irnc/events{/privacy}","received_events_url":"https://api.github.com/users/irnc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/emberjs/data/labels/Bug","name":"Bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2015-08-26T14:24:30Z","updated_at":"2016-04-20T08:47:58Z","closed_at":"2016-03-06T18:43:10Z","body":"This regression was introduced in https://github.com/emberjs/data/commit/0ac6ba4f331eecf3a3ddddccd76808520fbc7a45 for 2.0 and in https://github.com/emberjs/data/commit/75bec5ec1b1b842ee87eb4cb2fb0b6dbe1b93d85 for 1.13 bracnhes.\r\n\r\nIn current code, `_findRecord` function checks `reload` option and schedules fetch if it is `true`, but this function is never called if record is already in cache.\r\n\r\nYou can see that `Store#findRecord` would never reach the call to `_findRecord` for cached records and would return result of `_findByInternalModel` which does not check for `reload` option."},"comment":{"url":"https://api.github.com/repos/emberjs/data/issues/comments/212333503","html_url":"https://github.com/emberjs/data/issues/3704#issuecomment-212333503","issue_url":"https://api.github.com/repos/emberjs/data/issues/3704","id":212333503,"user":{"login":"mattbearman","id":717345,"avatar_url":"https://avatars.githubusercontent.com/u/717345?v=3","gravatar_id":"","url":"https://api.github.com/users/mattbearman","html_url":"https://github.com/mattbearman","followers_url":"https://api.github.com/users/mattbearman/followers","following_url":"https://api.github.com/users/mattbearman/following{/other_user}","gists_url":"https://api.github.com/users/mattbearman/gists{/gist_id}","starred_url":"https://api.github.com/users/mattbearman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattbearman/subscriptions","organizations_url":"https://api.github.com/users/mattbearman/orgs","repos_url":"https://api.github.com/users/mattbearman/repos","events_url":"https://api.github.com/users/mattbearman/events{/privacy}","received_events_url":"https://api.github.com/users/mattbearman/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T08:47:58Z","updated_at":"2016-04-20T08:47:58Z","body":"I'm currently on 2.4.3, I'll try upgrading and see if that does anything"}}