[IGN-16023]8.3 Regression: Document Tag Integer Values Change After Gateway Restart

Hi all, Upgraded from 8.1.45 to 8.3.4 and I am running into a regression for document tags.

When performing a gateway restart on an 8.3.4 gateway, document tags with integers are converted into floats (appending .0) to the end of the integer. Below is a simple example:

8.3.4 Behavior

someDict = {
	"asdf": 3,
	"test": 1.5,
	"anotherTest": 20.0
}

system.tag.writeBlocking("[default]documentTag", someDict)

I then restart the gateway

./gwcmd.sh -r

Once the connection is re-established, We can see that the asdf key is converted into 3.0.

8.1.45 Behavior

Restart the gateway with:

./gwcmd.sh -r

Value is correctly persisted.

Has anyone else ran into this issue? I plan on making a support ticket as well but wanted to post this on the forum.

Thanks in advance!

1 Like

Of curiosity, what do you have configured for Value Persistence on that memory tag in 8.3?

Hi Chris,

It inherits from the default tag provider which uses database persistence.

1 Like

I can verify that it happens in 8.3.1, as well.

Absolutely a bug, we have a ticket for this. Hopefully we'll fix this soon.

3 Likes