Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Basic UI: automatic update of newly added items requires restart #2706

Closed
MHerbst opened this issue Dec 27, 2016 · 2 comments
Closed

Basic UI: automatic update of newly added items requires restart #2706

MHerbst opened this issue Dec 27, 2016 · 2 comments

Comments

@MHerbst
Copy link
Contributor

MHerbst commented Dec 27, 2016

Tested with build 675 on Raspberry and a Chrome Browser.

After adding new items (a frame with3 items) to a sitemap the newly added items are note updated automatically. Only a browser refresh updates these item. Older items contained in another frame were automatically updated.
After a restart all items were properly updated. It seems that a restart is necessary to enable the automatic update of newly added items.

In Classic UI the automatic updated works without restart. So it seems to be related to the Basic UI implementation.

@kaikreuzer kaikreuzer changed the title Basic UI: automatic update of newly added items requires openHAB restart Basic UI: automatic update of newly added items requires restart Dec 28, 2016
triller-telekom added a commit to triller-telekom/smarthome that referenced this issue May 5, 2017
Fixes eclipse-archived#2706

Signed-off-by: Stefan Triller <stefan.triller@telekom.de>
@sjsf sjsf closed this as completed in #3379 May 8, 2017
sjsf pushed a commit that referenced this issue May 8, 2017
* Basic UI now updates new sitemap widgets without restart
* Remove StateChange Listeners on Widget removal + cleanup
* removed unnecessary code

Fixes #2706
Signed-off-by: Stefan Triller <stefan.triller@telekom.de>
@LordPacDemon
Copy link

All information under Basic UI not updating until manual reload of page under Firefox (54.0.1) / Chrome (60.0.3112.78). Under MS Edge and Internet Explorer it working.

@glyndon
Copy link

glyndon commented Apr 24, 2018

Seeing this exact behaviour today. BasicUI stops reflecting updates if config changed, until OpenHAB restarted. Then all is fine.

openHAB Distribution Version Information

build-no : Release Build
online-repo : https://dl.bintray.com/openhab/mvn/online-repo/2.2

Repository Version

openhab-distro : 2.2.0
smarthome : 0.10.0.b1
openhab-core : 2.2.0
openhab1-addons : 1.11.0
openhab2-addons : 2.2.0
karaf : 4.1.3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants