{"action":"created","issue":{"url":"https://api.github.com/repos/theforeman/foreman/issues/3529","repository_url":"https://api.github.com/repos/theforeman/foreman","labels_url":"https://api.github.com/repos/theforeman/foreman/issues/3529/labels{/name}","comments_url":"https://api.github.com/repos/theforeman/foreman/issues/3529/comments","events_url":"https://api.github.com/repos/theforeman/foreman/issues/3529/events","html_url":"https://github.com/theforeman/foreman/pull/3529","id":155029882,"number":3529,"title":"Fixes #15053 - Add a test that replicates bug 15053","user":{"login":"akofink","id":761923,"avatar_url":"https://avatars.githubusercontent.com/u/761923?v=3","gravatar_id":"","url":"https://api.github.com/users/akofink","html_url":"https://github.com/akofink","followers_url":"https://api.github.com/users/akofink/followers","following_url":"https://api.github.com/users/akofink/following{/other_user}","gists_url":"https://api.github.com/users/akofink/gists{/gist_id}","starred_url":"https://api.github.com/users/akofink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akofink/subscriptions","organizations_url":"https://api.github.com/users/akofink/orgs","repos_url":"https://api.github.com/users/akofink/repos","events_url":"https://api.github.com/users/akofink/events{/privacy}","received_events_url":"https://api.github.com/users/akofink/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/theforeman/foreman/labels/Needs%20testing","name":"Needs testing","color":"fbca04"},{"url":"https://api.github.com/repos/theforeman/foreman/labels/Not%20yet%20reviewed","name":"Not yet reviewed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-16T13:31:25Z","updated_at":"2016-05-16T16:59:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/3529","html_url":"https://github.com/theforeman/foreman/pull/3529","diff_url":"https://github.com/theforeman/foreman/pull/3529.diff","patch_url":"https://github.com/theforeman/foreman/pull/3529.patch"},"body":"Bug 15053 occurs when we call `uniq` on an ActiveRecord::Relation that\r\norders on some number of columns without explicitly selecting those\r\ncolumns. This bug is found using a PostgreSQL database with the DB\r\nerror: \"SELECT DISTINCT, ORDER BY expressions must appear in select\r\nlist\""},"comment":{"url":"https://api.github.com/repos/theforeman/foreman/issues/comments/219480906","html_url":"https://github.com/theforeman/foreman/pull/3529#issuecomment-219480906","issue_url":"https://api.github.com/repos/theforeman/foreman/issues/3529","id":219480906,"user":{"login":"akofink","id":761923,"avatar_url":"https://avatars.githubusercontent.com/u/761923?v=3","gravatar_id":"","url":"https://api.github.com/users/akofink","html_url":"https://github.com/akofink","followers_url":"https://api.github.com/users/akofink/followers","following_url":"https://api.github.com/users/akofink/following{/other_user}","gists_url":"https://api.github.com/users/akofink/gists{/gist_id}","starred_url":"https://api.github.com/users/akofink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akofink/subscriptions","organizations_url":"https://api.github.com/users/akofink/orgs","repos_url":"https://api.github.com/users/akofink/repos","events_url":"https://api.github.com/users/akofink/events{/privacy}","received_events_url":"https://api.github.com/users/akofink/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T16:59:25Z","updated_at":"2016-05-16T16:59:25Z","body":"[test]"}}