Bug? system.tag.readBlocking(ClientTag)

So I got notified today that something that works everywhere else is not working in the following situation.

A normal
system.tag.readBlocking("[default]SingleTag").value
returns the value.
If you do this against a single client tag,
system.tag.readBlocking("[client]SingleTag").value
it comes back with
attributeError: 'java.util.ArrayList' object has no attribute 'value'

We put the [0] in there and it reads fine, I understand the error and how to work around it, but I am not sure why it only does this when reading client tags vs tag provider tags?

Does it though? It doesn't for me...

2 Likes

This is the bug, this isn’t normal at all. According to the docs, ‘readBlocking()’ is supposed to return a List. I have always needed to use [0] for reliable results.

Acchuuually.. We're the bug.

system.tag.read("[default]SingleTag").value

works...
It also works against a client tag...
So half assed the trying to bring it up to the newer readBlocking...
:man_facepalming:

1 Like