Location group items missing after upgrade from 3.2 to 3.3

Hi,

I’m using full UI based items (JSONDB), after upgrading from 3.2 to 3.3 I’m missing some location group items. When I look in my org.openhab.core.items.Item.json the items are still there. This is an example of a item which is missing from the UI.

  "1eVerdieping": {
    "class": "org.openhab.core.items.ManagedItemProvider$PersistedItem",
    "value": {
      "groupNames": [
        "Binnen"
      ],
      "itemType": "Group",
      "tags": [
        "FirstFloor"
      ],
      "label": "1e verdieping",
      "category": ""
    }
  },

Any ideas what causes this issue?

Kind regards,
Bastiaan

It has never been allowed to start an Item with a number. It causes all sorts of subtle and hard to understand problems. This has been in the docs forever. But it was only in OH 3.3. that that restriction was enforced in the code.

What you’ll need to do is use the REST API to delete this and all other Items that start with a number and then recreate them through MainUI using names that do not start with a number.

1 Like

I honestly did not know this. I shutdown OH and edited the JSONDB file and replaced the items that started with a number. All is good now.

Thanks!

1 Like