{"action":"opened","issue":{"url":"https://api.github.com/repos/instedd/cdx/issues/757","repository_url":"https://api.github.com/repos/instedd/cdx","labels_url":"https://api.github.com/repos/instedd/cdx/issues/757/labels{/name}","comments_url":"https://api.github.com/repos/instedd/cdx/issues/757/comments","events_url":"https://api.github.com/repos/instedd/cdx/issues/757/events","html_url":"https://github.com/instedd/cdx/issues/757","id":133339264,"number":757,"title":"Orphan tests view throws server error","user":{"login":"mmuller","id":518152,"avatar_url":"https://avatars.githubusercontent.com/u/518152?v=3","gravatar_id":"","url":"https://api.github.com/users/mmuller","html_url":"https://github.com/mmuller","followers_url":"https://api.github.com/users/mmuller/followers","following_url":"https://api.github.com/users/mmuller/following{/other_user}","gists_url":"https://api.github.com/users/mmuller/gists{/gist_id}","starred_url":"https://api.github.com/users/mmuller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmuller/subscriptions","organizations_url":"https://api.github.com/users/mmuller/orgs","repos_url":"https://api.github.com/users/mmuller/repos","events_url":"https://api.github.com/users/mmuller/events{/privacy}","received_events_url":"https://api.github.com/users/mmuller/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/instedd/cdx/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/instedd/cdx/labels/critical","name":"critical","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-12T20:44:42Z","updated_at":"2016-02-12T20:44:42Z","closed_at":null,"body":"Found in version: 0.7-pre12\r\n\r\nPreconditions:\r\nThere is a Device 'Foo'\r\nThere are Tests associated to the Device 'Foo'\r\n\r\nReproduce steps:\r\nGo to the Device 'Foo' view\r\nRemove the Device 'Foo'\r\nVisit some Test associated to the Device 'Foo'\r\n\r\nActual result:\r\nA server error is thrown\r\n\r\nExpected result:\r\nIf there are Tests associated to a Device it should not be removed"}}