[SOLVED] Can't link one item to two different channel in same thing

Hello. I can’t link one item to two different channel in same thing (by Paper UI). There is no needed item in link dialog in “Please select the item to link” section. Channel and item have the same type (Number).
OH v2.4 stable.

I just tried this using two different but same type channels (DateTime as it happens) on the same Thing. Created a new Item in chan A link, added as existing Item to chan B link, all okay.
I don’t think this will work if the Item is created by xxx.items file.

Hmm…:

Okay, I don’t know why. It’s not some fundamental problem - here are two channels of one Thing linked to same Item, which i did using PaperUI.

I wouldn’t have thought the binding gets any say in what you can link a channel to, other than Item type.

Edit - just to be sure, links check in REST API - two links

{
  "channelUID": "modbus:data:th4h:th4h_hold:th4h_h21:lastReadSuccess",
  "configuration": {
    "profile": "system:default"
  },
  "itemName": "testDateTime"
}
{
  "channelUID": "modbus:data:th4h:th4h_hold:th4h_h21:lastWriteSuccess",
  "configuration": {
    "profile": "system:default"
  },
  "itemName": "testDateTime"
}

Thank you. I just found the cause of my problem.
The Dimension value in the properties of the item has been set to the dimensionless state. Everything worked after setting this value to an empty state.

That’s … weird. No suprise it wants channel type and Item type to match, but why work once and not a second time?