{"action":"opened","issue":{"url":"https://api.github.com/repos/eclipse/kapua/issues/2269","repository_url":"https://api.github.com/repos/eclipse/kapua","labels_url":"https://api.github.com/repos/eclipse/kapua/issues/2269/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/kapua/issues/2269/comments","events_url":"https://api.github.com/repos/eclipse/kapua/issues/2269/events","html_url":"https://github.com/eclipse/kapua/issues/2269","id":392142393,"node_id":"MDU6SXNzdWUzOTIxNDIzOTM=","number":2269,"title":"\"Not Available\" Client ID In Jobs When Device Deleted From Database","user":{"login":"LeoNerdoG","id":15121999,"node_id":"MDQ6VXNlcjE1MTIxOTk5","avatar_url":"https://avatars1.githubusercontent.com/u/15121999?v=4","gravatar_id":"","url":"https://api.github.com/users/LeoNerdoG","html_url":"https://github.com/LeoNerdoG","followers_url":"https://api.github.com/users/LeoNerdoG/followers","following_url":"https://api.github.com/users/LeoNerdoG/following{/other_user}","gists_url":"https://api.github.com/users/LeoNerdoG/gists{/gist_id}","starred_url":"https://api.github.com/users/LeoNerdoG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeoNerdoG/subscriptions","organizations_url":"https://api.github.com/users/LeoNerdoG/orgs","repos_url":"https://api.github.com/users/LeoNerdoG/repos","events_url":"https://api.github.com/users/LeoNerdoG/events{/privacy}","received_events_url":"https://api.github.com/users/LeoNerdoG/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-18T12:50:44Z","updated_at":"2018-12-18T12:50:44Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"If user adds a certain device to a job and after that delets it, there is \"Not available\" in device's client ID - but device should actually be deleted. \r\n\r\n**Testflow:**\r\n1. Login as kapua-sys or any other user that has proper permissions\r\n2. Go to Devices, add a device (e.g. device0)\r\n3. Go to jobs, create a job (e.g. job0) \r\n4. Add device0 to job0\r\n5. Go to Devices, select device0 and delete it\r\n6. Go to Jobs, select job0 and go to its Targets tab. Observe the list.\r\n\r\n\r\n**Expected behavior**\r\nWhen Device is deleted from Kapua, it should be deleted from all views in GUI. \r\n\r\n**Screenshot:**\r\n![screenshot 2018-12-18 at 13 45 25](https://user-images.githubusercontent.com/15121999/50155228-d5cb5500-02cb-11e9-888c-3ed35f404b40.png)\r\n\r\n**Version of Kapua**\r\n1.1.0-SNAPSHOT\r\n\r\n**Type of deployment**\r\n[ ] Local Vagrant deployment\r\n[x] Docker\r\n[ ] Openshift (in its variants) \r\n[ ] Others\r\n\r\n**Main component affected**\r\n[x] Console (in case of console please report info on which browser you encountered the problem)\r\n[ ] REST API\r\n[ ] Message Broker\r\n[ ] - Others\r\n\r\nBrowsers used: \r\n- Google Chrome (Version 69.0.3497.100 (Official Build) (64-bit))\r\n- Safari (Version 12.0 (13604.3.5))\r\n- Mozilla Firefox (63.0 (64-bit))\r\n- Opera (Version 55.0.2994.44)"}}
{"actor":{"display_login":"LeoNerdoG"}}