openhab / openhab-webui

Web UIs of openHAB
Eclipse Public License 2.0
217 stars 238 forks source link

Pick thing/model is not working #701

Closed dasfuu closed 3 years ago

dasfuu commented 3 years ago

The problem

When you choose a model or thing in the popup when creating an equipment the view goes back and nothing happens. And the URL reverts to http://localhost:8080/#

The browser goes back to the last page.

Edit: Same thing happen when clicking changing the semantic class. Clicking on e.g. shutter lets the browser go back.

Expected behavior

You can pick a thing. The dialog closes and the chosen thing/model is shown in the form.

Steps to reproduce

  1. Got to Model. Click "Create Equipment from Thing".
  2. PickThing
  3. Page goes back without picking a thing.

Same happens when creating Equipment through the Thing(Adding Equipment to Model) when choosing a parent. The view goes back to the channels of the thing.

Your environment

runtimeInfo: version: 3.0.0 buildString: Release Build locale: de_DE systemInfo: configFolder: D:\OpenHab\openhab-3.0.0\conf userdataFolder: D:\OpenHab\openhab-3.0.0\userdata logFolder: D:\OpenHab\openhab-3.0.0\userdata\logs javaVersion: 11.0.6 javaVendor: AdoptOpenJDK javaVendorVersion: AdoptOpenJDK osName: Windows 10 osVersion: "10.0" osArchitecture: amd64 availableProcessors: 24 freeMemory: 146189080 totalMemory: 645922816 bindings:

Browser console

Nothing is shown in the console

Browser network traffic

No failing requests

Additional information

--

dasfuu commented 3 years ago

It works in firefox. Not in Chrome. I cannot figure out why.

MHerbst commented 3 years ago

@meisterfuu You can try to refresh and clear the cache in Chrome with Ctrl+F5. I had similar problems because of older files in the browser cache.

dasfuu commented 3 years ago

@meisterfuu You can try to refresh and clear the cache in Chrome with Ctrl+F5. I had similar problems because of older files in the browser cache.

Indeed - that did help indeed. Thank you. I totally forgot to try that.