Open seime opened 4 months ago
This is because the route to the link info page is not part of routes.js, so it works when navigating around, but when reloading the page, the router doesn’t find this page.
Fixing this would require a new route to be added to the router, however it the problem that the https://github.com/openhab/openhab-webui/blob/9f006fdff308610379d2982d5a7584c60eb51230/bundles/org.openhab.ui/web/src/pages/settings/things/link/link-edit.vue link-edit page would need to load the data it normally gets passed from https://github.com/openhab/openhab-webui/blob/9f006fdff308610379d2982d5a7584c60eb51230/bundles/org.openhab.ui/web/src/components/thing/channel-link.vue.
The problem
When navigating in MainUI, a non-existant URL is generated by the UI. When doing browser reload, the URL is not found and an error page is shown:
Expected behavior
The browser address field is populated only with URLs that exists.
Steps to reproduce
Open
Settings
->Things
and choose anyThing
with at least one channel that is linked to an existingItem
Click on
You are taken to a page like
Channels
tab, choose any channel and click on the linked item:In the browser, reload the page -> Page not found
Your environment
Browser console
No messages