File based configuration not loading correctly

Here’s another extreme / confusing case I’m currently seeing, which might be related to item registry / UI timing issues.

Reference

GitHub issue:

What happens
openHAB loads the item file without errors:

2026-01-10 23:45:45.214 [INFO ] [el.core.internal.ModelRepositoryImpl] 
- Loading DSL model ‘zigbee.items’

Item definition (zigbee.items)

// Bedroom Lights
Switch Light_GF_Bedroom_OnOffLight1 "Light_GF_Bedroom_OnOffLight1"
    (Group_GF_Bedroom_CeilingLampBulbOne,
     Group_GF_Bedroom_SwitchLight,
     Group_House_PersistedEveryChange,
     Group_House_PersistedEveryDay)
    ["Switch","Power"] {
        channel="mqtt:topic:zigbee:switchBulb5AD92A"
}

Observation in the UI

The item appears not correctly on the Things page

The UI doesn’t shows it as expected (see screenshot) when clicking the item
I toggle Light_GF_Bedroom_OnOffLight1, the log shows:


2026-01-10 23:46:28.308 [WARN ] [ui.internal.items.ItemUIRegistryImpl]
- Failed to retrieve item during widget rendering,
  item does not exist:
  Item ‘Light_GF_Bedroom_OnOffLight1’ could not be found in the item registry

So at this moment:
The item doesn’t exists in the UI

After restart / cache cleanup

After rebooting openHAB and clearing the cache, everything works normally:

That was more than a year ago.
OH code has changed a lot since, also and particularly on this part.

And are you aware that 4.3.1 is even no longer supported?

Please upgrade to 5.1 and reproduce the issue there, then if necessary open a fresh issue incl. instructions how to reproduce it.

As you can see in the log it’s happening still with openhab 5.2 snapshot build

I produced a lot of logs …as you can see and I hope that oh 5.1 is still supported :slight_smile:

Do I need to rename the GitHub issue? @mstormi

I see no need for an issue to be renamed for a long-standing bug as the versions go by, and the bug remains. Issues should be handled, not assumed to be magically fixed because they are old. In some cases they might actually have been fixed in the meanwhile, but that should then be verified before closing them, not just assumed.

Yes please, at least remove the version number else it’s pretty misleading.