{"action":"created","issue":{"url":"https://api.github.com/repos/Katello/katello/issues/5919","repository_url":"https://api.github.com/repos/Katello/katello","labels_url":"https://api.github.com/repos/Katello/katello/issues/5919/labels{/name}","comments_url":"https://api.github.com/repos/Katello/katello/issues/5919/comments","events_url":"https://api.github.com/repos/Katello/katello/issues/5919/events","html_url":"https://github.com/Katello/katello/pull/5919","id":144086999,"number":5919,"title":"Fixes #14043 - Fixes how product associations are made, to work with multiple organizations correctly.","user":{"login":"zjhuntin","id":8502976,"avatar_url":"https://avatars.githubusercontent.com/u/8502976?v=3","gravatar_id":"","url":"https://api.github.com/users/zjhuntin","html_url":"https://github.com/zjhuntin","followers_url":"https://api.github.com/users/zjhuntin/followers","following_url":"https://api.github.com/users/zjhuntin/following{/other_user}","gists_url":"https://api.github.com/users/zjhuntin/gists{/gist_id}","starred_url":"https://api.github.com/users/zjhuntin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zjhuntin/subscriptions","organizations_url":"https://api.github.com/users/zjhuntin/orgs","repos_url":"https://api.github.com/users/zjhuntin/repos","events_url":"https://api.github.com/users/zjhuntin/events{/privacy}","received_events_url":"https://api.github.com/users/zjhuntin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Katello/katello/labels/Needs%20testing","name":"Needs testing","color":"fbca04"},{"url":"https://api.github.com/repos/Katello/katello/labels/Not%20yet%20reviewed","name":"Not yet reviewed","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-03-28T21:23:58Z","updated_at":"2016-03-30T00:41:38Z","closed_at":"2016-03-29T13:00:11Z","pull_request":{"url":"https://api.github.com/repos/Katello/katello/pulls/5919","html_url":"https://github.com/Katello/katello/pull/5919","diff_url":"https://github.com/Katello/katello/pull/5919.diff","patch_url":"https://github.com/Katello/katello/pull/5919.patch"},"body":"To reproduce:\r\n\r\n1. Create two organizations and give them both manifests with overlapping products.\r\n\r\n2. On one organization give it a product that has a subscription with many products (EG: I used Red Hat enterprise Linux 7 Server (Kickstart)).\r\n\r\n3. In the other organization add products that are in the subscriptions products of the first organizations product. (EG: I enabled Linux Atomic Host RPMs and Oracle java RHEL server).\r\n\r\n4. If the change has been applied then when you run hammer activation-key product-content --id [id of first organization's activation key] you should only see products enabled for the first organization. If it's not been applied you should see those and the products enabled in the second organization."},"comment":{"url":"https://api.github.com/repos/Katello/katello/issues/comments/203170814","html_url":"https://github.com/Katello/katello/pull/5919#issuecomment-203170814","issue_url":"https://api.github.com/repos/Katello/katello/issues/5919","id":203170814,"user":{"login":"ehelms","id":293363,"avatar_url":"https://avatars.githubusercontent.com/u/293363?v=3","gravatar_id":"","url":"https://api.github.com/users/ehelms","html_url":"https://github.com/ehelms","followers_url":"https://api.github.com/users/ehelms/followers","following_url":"https://api.github.com/users/ehelms/following{/other_user}","gists_url":"https://api.github.com/users/ehelms/gists{/gist_id}","starred_url":"https://api.github.com/users/ehelms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehelms/subscriptions","organizations_url":"https://api.github.com/users/ehelms/orgs","repos_url":"https://api.github.com/users/ehelms/repos","events_url":"https://api.github.com/users/ehelms/events{/privacy}","received_events_url":"https://api.github.com/users/ehelms/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T00:41:38Z","updated_at":"2016-03-30T00:41:38Z","body":"@thomasmckay did you test this with an existing setup or a fresh setup?"}}