Can't Update Tag Parameters

We have an ignition edge gateway started on Windows Ignition Edge 8.1.44. When we backed up the gateway and restored it to a linux device running Ignition Edge 8.1.44, a parameter within all of the tags "Device Name" were suddenly overwritten to the name of the folder the tag is within. We can't undo the overrides or manually change the device tags; they always revert back to what they were. I can change the name of the folder and the parameter also doesn't change, so I'm not sure it's actively tied to the folder name. We've also tried exporting the json, editing it and importing it. The parameter still doesn't change. If I create a new tag, the same thing happens. The parameter is just a static value with no references. If the tag is in the root, I have no issues with the parameter. i have even tried deleting the parameter from a UDT and recreating it.

We also just noticed that our parameter Program is setup in the UDT as "Program:{PathToParentFolder}." is actually showing "Program:{InstanceName}."

We can export the gateway and import it back into Windows. Here we can change the parameter. Bring that back to Linux though results in us having the same issue.


I found the following script within one of the tags in each UDT. I'm not sure what this is a problem on our Linux devices but not Windows.

def valueChanged(tag, tagPath, previousValue, currentValue, initialChange, missedEvents):
	paths = ["[.]/Parameters.DeviceName","[.]/Parameters.Program"]
	
	tagPath = '{PathToParentFolder}'.split('/')
	device = tagPath[0]
	program = 'Program:' + tagPath[1] + '.'
	
	values = [device, program]
	system.tag.writeBlocking(paths, values)
1 Like