Hi!
Running OH 3.2 M5 here
I just came across a strange semantic model item-related bug. This may be tricky to reproduce but I have it on video and I have one last item left affected by the bug.
So. I have a Homie device Thing with multiple properties.
I created four items from channels.
I then (much later) used Create Equipment from Thing, selecting all channels except the first four, writing down the names of the four ones that already had items. (I did this to avoid duplicate items).
After that, I wanted to make the four earlier created items part of the Equipment.
So, for each of the four items, I went to the Thing, Channels, expand one of the four channels, open the channel inside, then click on the Item inside, then Edit, click on Parent Groups - Group Membership, and choose the newly created Equipment.
I did this for all four items – and I’m sure I picked the right Equipment.
Then, I look in the Model page, and the items are all there, but all four are in the root, they are not part of the Equipment!
How odd, I thought.
So, I go back to the Thing, Channel, Item, Edit etc, and indeed it IS set as a member of the correct parent group, so I don’t change anything! I click Save, and go look at Model - Equipment again.
Now, suddenly it appears inside the Equipment as I originally intended! That’s 1 out of 4.
I do it again for item 2. Same thing happens.
At this point I realize that I should capture a video and post about it.
So, here is that video capture, showing clearly that the item is in the wrong place, and that just saving the item settings again fixes it!
I have left the last item (#4) in the wrong place, so at this point, if anyone would like me to grab something out of a database or similar, to figure out why it’s behaving this way (being displayed in the wrong place in the semantic model) in order to track down the bug, I would be happy to do it.