{"action":"created","issue":{"url":"https://api.github.com/repos/openhab/openhab-distro/issues/396","repository_url":"https://api.github.com/repos/openhab/openhab-distro","labels_url":"https://api.github.com/repos/openhab/openhab-distro/issues/396/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab-distro/issues/396/comments","events_url":"https://api.github.com/repos/openhab/openhab-distro/issues/396/events","html_url":"https://github.com/openhab/openhab-distro/issues/396","id":201889773,"number":396,"title":"Parameters removed from binding cfg files persist in userdata/config even after restart","user":{"login":"rkoshak","id":6385096,"avatar_url":"https://avatars3.githubusercontent.com/u/6385096?v=4","gravatar_id":"","url":"https://api.github.com/users/rkoshak","html_url":"https://github.com/rkoshak","followers_url":"https://api.github.com/users/rkoshak/followers","following_url":"https://api.github.com/users/rkoshak/following{/other_user}","gists_url":"https://api.github.com/users/rkoshak/gists{/gist_id}","starred_url":"https://api.github.com/users/rkoshak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkoshak/subscriptions","organizations_url":"https://api.github.com/users/rkoshak/orgs","repos_url":"https://api.github.com/users/rkoshak/repos","events_url":"https://api.github.com/users/rkoshak/events{/privacy}","received_events_url":"https://api.github.com/users/rkoshak/received_events","type":"User","site_admin":false},"labels":[{"id":305059391,"url":"https://api.github.com/repos/openhab/openhab-distro/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-01-19T15:23:31Z","updated_at":"2017-09-26T15:29:58Z","closed_at":"2017-08-12T09:14:43Z","author_association":"NONE","body":"The relevant thread on the forums is here:\r\n\r\nhttps://community.openhab.org/t/help-im-ready-to-give-up/20006/93\r\n\r\nThe issue particularly impacts 1.9 bindings like Weather, MQTT, and HTTP where there can be repeated copies of one or more setting type (e.g. more than one broker config for MQTT, more than one weather location in Weather, more than one URL to cache in HTTP).\r\n\r\nIf, for example, a user decided they no longer need to poll a certain URL with the HTTP binding and remove it from their conf/services/http.cfg file, that parameter does not get removed from the corresponding userdata/config/org/openhab/http.config.\r\n\r\nEven upon a reboot, the removed parameters persist in the userdata/config version.\r\n\r\nAs a user I expect updates to the services/binding.cfg file to apply, including additions, modifications, and removals.\r\n\r\nIf this is the wrong repo (e.g. this is really an ESH problem) let me know and I'll repost it there.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/openhab/openhab-distro/issues/comments/332236729","html_url":"https://github.com/openhab/openhab-distro/issues/396#issuecomment-332236729","issue_url":"https://api.github.com/repos/openhab/openhab-distro/issues/396","id":332236729,"user":{"login":"kaikreuzer","id":3244965,"avatar_url":"https://avatars3.githubusercontent.com/u/3244965?v=4","gravatar_id":"","url":"https://api.github.com/users/kaikreuzer","html_url":"https://github.com/kaikreuzer","followers_url":"https://api.github.com/users/kaikreuzer/followers","following_url":"https://api.github.com/users/kaikreuzer/following{/other_user}","gists_url":"https://api.github.com/users/kaikreuzer/gists{/gist_id}","starred_url":"https://api.github.com/users/kaikreuzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaikreuzer/subscriptions","organizations_url":"https://api.github.com/users/kaikreuzer/orgs","repos_url":"https://api.github.com/users/kaikreuzer/repos","events_url":"https://api.github.com/users/kaikreuzer/events{/privacy}","received_events_url":"https://api.github.com/users/kaikreuzer/received_events","type":"User","site_admin":false},"created_at":"2017-09-26T15:29:58Z","updated_at":"2017-09-26T15:29:58Z","author_association":"OWNER","body":"@rkoshak & @AngelosF: Good news, the issue should be fixed in the latest openHAB Distro!\r\n\r\nAny cfg-file which contains `pid:org.openhab.xxxx` as a first line will now be considered exclusively for settings for the given pid. Any old entries should thus be removed by the runtime.\r\n\r\nMay I ask you to create PRs for the cfg files that should be adapted in openhab1-addons? Especially the ones you mentioned above like weather, mqtt & http - thanks!"}}
{"actor":{"display_login":"kaikreuzer"}}