Suddenly the Model page was not loading any longer. The loading circle never came to an end displaying the page. This occured after lots of edits in my items. All done via WebUI. After some digging I found others had the same issue:
https://community.openhab.org/t/solved-oh3-issue-model-page-endless-loading-maximum-call-stack-size-exceeded-in-app-js/111320/28
Seems like we possibly created a dependency loop with adding a group to a group with member of itself. Since all maintenance was done on the items page, I wasnt able to track down which config change, broke the setup. I had to revert about 30 item updates until the page suddenly loaded again.
Expected behavior
Ideally Main UI should recognize a loop and make sure to not create such config. Stop/spit error/etc
Steps to reproduce
It happened to me twice already, but cannot safely confirm how to re-create the issue. Most likely a loop within group dependencies. Will check if someone from the community can add info.
Until we have this feature, perhaps the webpage could issue some hint that there might be circularity going on so that users don’t just see the “loading” circle but get a pointer to what is going on?
The problem
Suddenly the Model page was not loading any longer. The loading circle never came to an end displaying the page. This occured after lots of edits in my items. All done via WebUI. After some digging I found others had the same issue: https://community.openhab.org/t/solved-oh3-issue-model-page-endless-loading-maximum-call-stack-size-exceeded-in-app-js/111320/28 Seems like we possibly created a dependency loop with adding a group to a group with member of itself. Since all maintenance was done on the items page, I wasnt able to track down which config change, broke the setup. I had to revert about 30 item updates until the page suddenly loaded again.
Expected behavior
Ideally Main UI should recognize a loop and make sure to not create such config. Stop/spit error/etc
Steps to reproduce
It happened to me twice already, but cannot safely confirm how to re-create the issue. Most likely a loop within group dependencies. Will check if someone from the community can add info.
Your environment
Let me know if you need more/other details. Thanks much