{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla-services/kinto.js/issues/89","labels_url":"https://api.github.com/repos/mozilla-services/kinto.js/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-services/kinto.js/issues/89/comments","events_url":"https://api.github.com/repos/mozilla-services/kinto.js/issues/89/events","html_url":"https://github.com/mozilla-services/kinto.js/issues/89","id":96535607,"number":89,"title":"Cached Kinto collections instances are not uniquely identified","user":{"login":"n1k0","id":41547,"avatar_url":"https://avatars.githubusercontent.com/u/41547?v=3","gravatar_id":"","url":"https://api.github.com/users/n1k0","html_url":"https://github.com/n1k0","followers_url":"https://api.github.com/users/n1k0/followers","following_url":"https://api.github.com/users/n1k0/following{/other_user}","gists_url":"https://api.github.com/users/n1k0/gists{/gist_id}","starred_url":"https://api.github.com/users/n1k0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n1k0/subscriptions","organizations_url":"https://api.github.com/users/n1k0/orgs","repos_url":"https://api.github.com/users/n1k0/repos","events_url":"https://api.github.com/users/n1k0/events{/privacy}","received_events_url":"https://api.github.com/users/n1k0/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mozilla-services/kinto.js/milestones/1","html_url":"https://github.com/mozilla-services/kinto.js/milestones/1.0.0","labels_url":"https://api.github.com/repos/mozilla-services/kinto.js/milestones/1/labels","id":1208763,"number":1,"title":"1.0.0","description":"","creator":{"login":"n1k0","id":41547,"avatar_url":"https://avatars.githubusercontent.com/u/41547?v=3","gravatar_id":"","url":"https://api.github.com/users/n1k0","html_url":"https://github.com/n1k0","followers_url":"https://api.github.com/users/n1k0/followers","following_url":"https://api.github.com/users/n1k0/following{/other_user}","gists_url":"https://api.github.com/users/n1k0/gists{/gist_id}","starred_url":"https://api.github.com/users/n1k0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n1k0/subscriptions","organizations_url":"https://api.github.com/users/n1k0/orgs","repos_url":"https://api.github.com/users/n1k0/repos","events_url":"https://api.github.com/users/n1k0/events{/privacy}","received_events_url":"https://api.github.com/users/n1k0/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":52,"state":"open","created_at":"2015-07-15T08:24:07Z","updated_at":"2015-07-22T11:59:00Z","due_on":"2015-09-29T22:00:00Z","closed_at":null},"comments":1,"created_at":"2015-07-22T10:52:51Z","updated_at":"2015-07-22T11:59:00Z","closed_at":"2015-07-22T11:59:00Z","body":"This doesn't comply with setting the bucket name, so a collection sharing a common name with another one from another bucket will override it.\r\n\r\n```js\r\n    if (!this._collections.hasOwnProperty(collName)) {\r\n      this._collections[collName] = new Collection(bucket, collName, api, {\r\n        events: this.events\r\n      });\r\n    }\r\n```\r\n\r\nWe need to cache these using keys including the bucket name as well."},"comment":{"url":"https://api.github.com/repos/mozilla-services/kinto.js/issues/comments/123694447","html_url":"https://github.com/mozilla-services/kinto.js/issues/89#issuecomment-123694447","issue_url":"https://api.github.com/repos/mozilla-services/kinto.js/issues/89","id":123694447,"user":{"login":"n1k0","id":41547,"avatar_url":"https://avatars.githubusercontent.com/u/41547?v=3","gravatar_id":"","url":"https://api.github.com/users/n1k0","html_url":"https://github.com/n1k0","followers_url":"https://api.github.com/users/n1k0/followers","following_url":"https://api.github.com/users/n1k0/following{/other_user}","gists_url":"https://api.github.com/users/n1k0/gists{/gist_id}","starred_url":"https://api.github.com/users/n1k0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n1k0/subscriptions","organizations_url":"https://api.github.com/users/n1k0/orgs","repos_url":"https://api.github.com/users/n1k0/repos","events_url":"https://api.github.com/users/n1k0/events{/privacy}","received_events_url":"https://api.github.com/users/n1k0/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T11:58:59Z","updated_at":"2015-07-22T11:58:59Z","body":"False alarm, closing as invalid as you can use a single bucket per Kinto instance."}}