{"action":"closed","issue":{"url":"https://api.github.com/repos/Wirecloud/wirecloud/issues/71","labels_url":"https://api.github.com/repos/Wirecloud/wirecloud/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/Wirecloud/wirecloud/issues/71/comments","events_url":"https://api.github.com/repos/Wirecloud/wirecloud/issues/71/events","html_url":"https://github.com/Wirecloud/wirecloud/issues/71","id":118443408,"number":71,"title":"Wiring Editor: Component close button discrepancies (when the behaviour engine is enabled)","user":{"login":"aarranz","id":841201,"avatar_url":"https://avatars.githubusercontent.com/u/841201?v=3","gravatar_id":"","url":"https://api.github.com/users/aarranz","html_url":"https://github.com/aarranz","followers_url":"https://api.github.com/users/aarranz/followers","following_url":"https://api.github.com/users/aarranz/following{/other_user}","gists_url":"https://api.github.com/users/aarranz/gists{/gist_id}","starred_url":"https://api.github.com/users/aarranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aarranz/subscriptions","organizations_url":"https://api.github.com/users/aarranz/orgs","repos_url":"https://api.github.com/users/aarranz/repos","events_url":"https://api.github.com/users/aarranz/events{/privacy}","received_events_url":"https://api.github.com/users/aarranz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Wirecloud/wirecloud/labels/Bug","name":"Bug","color":"e47900"}],"state":"closed","locked":false,"assignee":{"login":"jpajuelo","id":6609719,"avatar_url":"https://avatars.githubusercontent.com/u/6609719?v=3","gravatar_id":"","url":"https://api.github.com/users/jpajuelo","html_url":"https://github.com/jpajuelo","followers_url":"https://api.github.com/users/jpajuelo/followers","following_url":"https://api.github.com/users/jpajuelo/following{/other_user}","gists_url":"https://api.github.com/users/jpajuelo/gists{/gist_id}","starred_url":"https://api.github.com/users/jpajuelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpajuelo/subscriptions","organizations_url":"https://api.github.com/users/jpajuelo/orgs","repos_url":"https://api.github.com/users/jpajuelo/repos","events_url":"https://api.github.com/users/jpajuelo/events{/privacy}","received_events_url":"https://api.github.com/users/jpajuelo/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Wirecloud/wirecloud/milestones/1","html_url":"https://github.com/Wirecloud/wirecloud/milestones/v0.8.2","labels_url":"https://api.github.com/repos/Wirecloud/wirecloud/milestones/1/labels","id":1410229,"number":1,"title":"v0.8.2","description":"","creator":{"login":"aarranz","id":841201,"avatar_url":"https://avatars.githubusercontent.com/u/841201?v=3","gravatar_id":"","url":"https://api.github.com/users/aarranz","html_url":"https://github.com/aarranz","followers_url":"https://api.github.com/users/aarranz/followers","following_url":"https://api.github.com/users/aarranz/following{/other_user}","gists_url":"https://api.github.com/users/aarranz/gists{/gist_id}","starred_url":"https://api.github.com/users/aarranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aarranz/subscriptions","organizations_url":"https://api.github.com/users/aarranz/orgs","repos_url":"https://api.github.com/users/aarranz/repos","events_url":"https://api.github.com/users/aarranz/events{/privacy}","received_events_url":"https://api.github.com/users/aarranz/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":4,"state":"open","created_at":"2015-11-13T12:03:13Z","updated_at":"2015-11-24T16:47:07Z","due_on":"2015-11-26T23:00:00Z","closed_at":null},"comments":1,"created_at":"2015-11-23T18:34:32Z","updated_at":"2015-11-24T16:47:08Z","closed_at":"2015-11-24T16:47:07Z","body":"When a component is added into the Wiring canvas, it always display the cross-button:\r\n\r\n![captura de pantalla 2015-11-23 a las 19 30 07](https://cloud.githubusercontent.com/assets/841201/11345641/aa256ff2-9218-11e5-8350-fecf8fb2add8.png)\r\n\r\nIt should display the trash button, as it will be only available in one behaviour, the one in which it was added:\r\n\r\n![captura de pantalla 2015-11-23 a las 19 32 37](https://cloud.githubusercontent.com/assets/841201/11345694/fd4c12c6-9218-11e5-9ac4-d894bcabcd44.png)\r\n\r\nThe button is correctly display if you move between the different behaviours, but the button is transformed into a cross-button again if you move the component in the wiring canvas."}}