[development] - channel not showing mapped values?

I have a binding that defines a channel within the thing-types.xml:

    <channel-type id="errorCode">
        <label>Error code</label>
        <state readOnly="true">
                <option value="0">Foo 1</option>
                <option value="1">Foo 2</option>

If I understood correctly, one should expose mappings of i.e. ordinary values to textual representations this way so internationalization is supported out-of-the-box and strings as “Foo 1” are not hidden within the binding code, which makes sense.

The problem is that if I try to add channel to the .items

String errorCode "Error code [%s]" {channel="somebinding:errorCode"}

and sitemap

Text item=errorCode 

I can only see 0 instead of “Foo 1”. I also observed similar issue here. So the question is - am I doing something wrong and should fix this within the binding or is there an issue somewhere else and should leave the binding as is?

Anyone? I mean without a textual representation of the error code the provided information is kinda useless - seeing i.e. “22” instead of some informative textual representation is really reducing the value of the provided information. The other option I see is to provide a .map file.

One more note - if I add the thing within the PaperUI, I can see the mapped value of the channel, while this is not the case within Basic and Classic UI. Within the later two I see “1”, but within PaperUI I get “Foo 2”. Is mapping described above supposed to work for PaperUI only?

I know this topic is a bit older but I’ve the same question. Any news on this?

AFAIK this was fixed - https://github.com/eclipse/smarthome/issues/2729

I can see mapped values now.

Thank you for the information.