{"action":"created","issue":{"url":"https://api.github.com/repos/openhab/org.openhab.ui.habmin/issues/285","repository_url":"https://api.github.com/repos/openhab/org.openhab.ui.habmin","labels_url":"https://api.github.com/repos/openhab/org.openhab.ui.habmin/issues/285/labels{/name}","comments_url":"https://api.github.com/repos/openhab/org.openhab.ui.habmin/issues/285/comments","events_url":"https://api.github.com/repos/openhab/org.openhab.ui.habmin/issues/285/events","html_url":"https://github.com/openhab/org.openhab.ui.habmin/issues/285","id":339149891,"node_id":"MDU6SXNzdWUzMzkxNDk4OTE=","number":285,"title":"HABmin \"loses\" item-channel links","user":{"login":"mhilbush","id":19286354,"node_id":"MDQ6VXNlcjE5Mjg2MzU0","avatar_url":"https://avatars2.githubusercontent.com/u/19286354?v=4","gravatar_id":"","url":"https://api.github.com/users/mhilbush","html_url":"https://github.com/mhilbush","followers_url":"https://api.github.com/users/mhilbush/followers","following_url":"https://api.github.com/users/mhilbush/following{/other_user}","gists_url":"https://api.github.com/users/mhilbush/gists{/gist_id}","starred_url":"https://api.github.com/users/mhilbush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhilbush/subscriptions","organizations_url":"https://api.github.com/users/mhilbush/orgs","repos_url":"https://api.github.com/users/mhilbush/repos","events_url":"https://api.github.com/users/mhilbush/events{/privacy}","received_events_url":"https://api.github.com/users/mhilbush/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-07T14:28:27Z","updated_at":"2018-10-28T17:02:29Z","closed_at":null,"author_association":"NONE","body":"For a very long time I've seen the situation where HABmin loses the item-channel links. This manifests itself in the HABmin UI on the Thing display. The **Channels** pane shows *0 Active* channels, when in fact there are one or more than one *Active* channels. Opening the **Channels** pane shows all the channels, but the items linked to those channels are gone.\r\n\r\nDoing a page reload corrects the problem.\r\n\r\nI believe I've tracked this down to the scenario where the status of the thing has changed. The best example is when the Last Wakeup Time attribute is updated.\r\n\r\nScenario to reproduce:\r\n- Load HABmin\r\n- Click on a node Thing and observe the number of *Active* channels. It should be 1 or more.\r\n- Wake up the node\r\n- Click on another node Thing\r\n- Click on the original node Thing and observe that the number of *Active* channels is 0.\r\n\r\nI tried to trace through the Angular code to see what's going on. Unfortunately, my Angular skills are really poor. ☹️ \r\n"},"comment":{"url":"https://api.github.com/repos/openhab/org.openhab.ui.habmin/issues/comments/433722744","html_url":"https://github.com/openhab/org.openhab.ui.habmin/issues/285#issuecomment-433722744","issue_url":"https://api.github.com/repos/openhab/org.openhab.ui.habmin/issues/285","id":433722744,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzcyMjc0NA==","user":{"login":"mhilbush","id":19286354,"node_id":"MDQ6VXNlcjE5Mjg2MzU0","avatar_url":"https://avatars2.githubusercontent.com/u/19286354?v=4","gravatar_id":"","url":"https://api.github.com/users/mhilbush","html_url":"https://github.com/mhilbush","followers_url":"https://api.github.com/users/mhilbush/followers","following_url":"https://api.github.com/users/mhilbush/following{/other_user}","gists_url":"https://api.github.com/users/mhilbush/gists{/gist_id}","starred_url":"https://api.github.com/users/mhilbush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhilbush/subscriptions","organizations_url":"https://api.github.com/users/mhilbush/orgs","repos_url":"https://api.github.com/users/mhilbush/repos","events_url":"https://api.github.com/users/mhilbush/events{/privacy}","received_events_url":"https://api.github.com/users/mhilbush/received_events","type":"User","site_admin":false},"created_at":"2018-10-28T17:02:29Z","updated_at":"2018-10-28T17:02:29Z","author_association":"NONE","body":"To clarify, this issue I opened here, as @cdjackson points out, is strictly a UI presentation issue in HABmin. "}}
{"actor":{"display_login":"mhilbush"}}