Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse SmartHome » ItemRegistery(org.eclipse.smarthome.core.items.ItemRegistry) is empty when channel is linked?
ItemRegistery(org.eclipse.smarthome.core.items.ItemRegistry) is empty when channel is linked? [message #1733777] Tue, 31 May 2016 16:26 Go to next message
Felix Lo is currently offline Felix LoFriend
Messages: 8
Registered: October 2015
Junior Member
Hi,

Shouldn't we ensure that associated items are added into ItemRegistry before calling BaseThingHandler's isLinked() method?

The reason i am asking this is i have an scenario that items related to a channel (custum binding) need to initialize to certain state. Unfortunately, currently, there is a no check or guarantee that an item is added to itemRegistry before a channel is linked.

Cheers.

Re: ItemRegistery(org.eclipse.smarthome.core.items.ItemRegistry) is empty when channel is linked? [message #1736975 is a reply to message #1733777] Mon, 04 July 2016 18:37 Go to previous message
Markus Rathgeb is currently offline Markus RathgebFriend
Messages: 100
Registered: August 2014
Senior Member

Hi,
is this still valid?
Have you had a look at:
https://github.com/eclipse/smarthome/issues/1658#issuecomment-226171576
Previous Topic:Problem to open a serial com port for binding
Next Topic:Item and Channel Label is not set in UI
Goto Forum:
  


Current Time: Sun Jun 24 07:38:25 GMT 2018

Powered by FUDForum. Page generated in 0.02048 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top