{"action":"closed","issue":{"url":"https://api.github.com/repos/unic/neba/issues/150","repository_url":"https://api.github.com/repos/unic/neba","labels_url":"https://api.github.com/repos/unic/neba/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/unic/neba/issues/150/comments","events_url":"https://api.github.com/repos/unic/neba/issues/150/events","html_url":"https://github.com/unic/neba/issues/150","id":177428562,"number":150,"title":"RequestScopedResourceModelCache must respect the scope of the resource's resource resolver","user":{"login":"olaf-otto","id":5851855,"avatar_url":"https://avatars.githubusercontent.com/u/5851855?v=3","gravatar_id":"","url":"https://api.github.com/users/olaf-otto","html_url":"https://github.com/olaf-otto","followers_url":"https://api.github.com/users/olaf-otto/followers","following_url":"https://api.github.com/users/olaf-otto/following{/other_user}","gists_url":"https://api.github.com/users/olaf-otto/gists{/gist_id}","starred_url":"https://api.github.com/users/olaf-otto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olaf-otto/subscriptions","organizations_url":"https://api.github.com/users/olaf-otto/orgs","repos_url":"https://api.github.com/users/olaf-otto/repos","events_url":"https://api.github.com/users/olaf-otto/events{/privacy}","received_events_url":"https://api.github.com/users/olaf-otto/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/unic/neba/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"olaf-otto","id":5851855,"avatar_url":"https://avatars.githubusercontent.com/u/5851855?v=3","gravatar_id":"","url":"https://api.github.com/users/olaf-otto","html_url":"https://github.com/olaf-otto","followers_url":"https://api.github.com/users/olaf-otto/followers","following_url":"https://api.github.com/users/olaf-otto/following{/other_user}","gists_url":"https://api.github.com/users/olaf-otto/gists{/gist_id}","starred_url":"https://api.github.com/users/olaf-otto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olaf-otto/subscriptions","organizations_url":"https://api.github.com/users/olaf-otto/orgs","repos_url":"https://api.github.com/users/olaf-otto/repos","events_url":"https://api.github.com/users/olaf-otto/events{/privacy}","received_events_url":"https://api.github.com/users/olaf-otto/received_events","type":"User","site_admin":false},"assignees":[{"login":"olaf-otto","id":5851855,"avatar_url":"https://avatars.githubusercontent.com/u/5851855?v=3","gravatar_id":"","url":"https://api.github.com/users/olaf-otto","html_url":"https://github.com/olaf-otto","followers_url":"https://api.github.com/users/olaf-otto/followers","following_url":"https://api.github.com/users/olaf-otto/following{/other_user}","gists_url":"https://api.github.com/users/olaf-otto/gists{/gist_id}","starred_url":"https://api.github.com/users/olaf-otto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olaf-otto/subscriptions","organizations_url":"https://api.github.com/users/olaf-otto/orgs","repos_url":"https://api.github.com/users/olaf-otto/repos","events_url":"https://api.github.com/users/olaf-otto/events{/privacy}","received_events_url":"https://api.github.com/users/olaf-otto/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/unic/neba/milestones/14","html_url":"https://github.com/unic/neba/milestones/3.11.0","labels_url":"https://api.github.com/repos/unic/neba/milestones/14/labels","id":2012951,"number":14,"title":"3.11.0","description":"","creator":{"login":"olaf-otto","id":5851855,"avatar_url":"https://avatars.githubusercontent.com/u/5851855?v=3","gravatar_id":"","url":"https://api.github.com/users/olaf-otto","html_url":"https://github.com/olaf-otto","followers_url":"https://api.github.com/users/olaf-otto/followers","following_url":"https://api.github.com/users/olaf-otto/following{/other_user}","gists_url":"https://api.github.com/users/olaf-otto/gists{/gist_id}","starred_url":"https://api.github.com/users/olaf-otto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olaf-otto/subscriptions","organizations_url":"https://api.github.com/users/olaf-otto/orgs","repos_url":"https://api.github.com/users/olaf-otto/repos","events_url":"https://api.github.com/users/olaf-otto/events{/privacy}","received_events_url":"https://api.github.com/users/olaf-otto/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2016-09-19T08:31:39Z","updated_at":"2016-09-19T08:32:53Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-09-16T13:41:36Z","updated_at":"2016-09-19T08:32:53Z","closed_at":"2016-09-19T08:32:53Z","body":"Within a request, the exact same resource may be resolved and adapted to the exact same model using different resource resolvers, like so:\r\n\r\nr1 = resolverFactory.get....();\r\nr1.getResource(\"/path\").adaptTo(Model.class);\r\nr1.close();\r\n\r\n...\r\n\r\nr2 = resolverFactory.get....();\r\nr2.getResource(\"/path\").adaptTo(Model.class);\r\nr2.close();\r\n\r\nIn this case, the second adaptation will yield the model adapted by the first resolver (r1), as the cache assumes models are resolved using the request-scoped user-specific resource resolver. this assumption, however, may not be true. \r\n\r\nThus, the cache key must include the identity of the resolving resource resolver.\r\n"}}
{"actor":{"display_login":"olaf-otto"}}