Edit metadata results in spinning wheel while loading

OH 4.1.1

I have a simple Number:Temperature Item that I’m using as part of a group for a thermostat using Alexa. I created the Item and put it in the group as desired. I’ve added metadata, but when I go back and try to edit or view the metadata in the Main UI, I get a spinning wheel that never stops. I can see the correct metadata in the jsondb file, but I should be able to edit in the GUI. I tried restarting OH and that made no difference.

Any suggestions to resolve this? I have other Items with metadata that I can edit. This one in particular seems problematic. I think that all 3 Items that I have in the group seem to have trouble with this. Other Items not in the group can edit the metadata.

Group is:

label: Cabin Furnace
type: Group
category: ""
groupNames: []
tags: []
groupType: None
function: None

Item is:

label: Cabin Heat Setpoint
type: Number:Temperature
category: temperature
  - CabinThermostat
  - Point

Metadata has:

  "alexa:Pine_Lake_openHAB_Item_CabinHeatSetpoint": {
    "class": "org.openhab.core.items.Metadata",
    "value": {
      "key": {
        "segments": [
        "uid": "alexa:Pine_Lake_openHAB_Item_CabinHeatSetpoint"
      "value": "Thermostat.TargetTemperature",
      "configuration": {}

This is the forever spinning wheel:

Anything in the logs when this happens?

What does it do when you reload the browser?

Can you pull the JSON from the API Explorer or does it spin there too?

In the browser console do you see any errors?

I don’t see anything obviously wrong.

Nothing in the OH logs.

Reloading the browser doesn’t change behavior, still spinning.

The browser console does show the error below which is probably the cause, but I don’t know how to interpret this. Suggestions?

I haven’t tried the API Explorer yet - will try that and report back.

Using Chrome: Version 121.0.6167.161 (Official Build) (64-bit)


app.3456231afb83cd720478.js:7 TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
    at H (14.app.3456231afb83cd720478.js:1:79732)
    at Z (14.app.3456231afb83cd720478.js:1:81051)
    at Le (14.app.3456231afb83cd720478.js:1:89003)
    at parameters (14.app.3456231afb83cd720478.js:1:100832)
    at 14.app.3456231afb83cd720478.js:1:119568
    at Array.map (<anonymous>)
    at 14.app.3456231afb83cd720478.js:1:119544
    at Array.reduce (<anonymous>)
    at r.parameters (14.app.3456231afb83cd720478.js:1:118825)
    at fn.get (app.3456231afb83cd720478.js:7:26678)

Thanks for reporting this issue. A bug has been found affecting all temperature related alexa metadata attributes in MainUI since OH 4.1. A fix has been submitted for the next OH release. Unfortunately, the only workaround is to use the code tab to configure the affected metadata attributes.

1 Like

The fix is included in the 4.1.2 release.

1 Like

That’s good news, thanks for the update.

1 Like