System.tag.configure Error

Hi,

I have a maintenance script that essentially duplicates all UDT from a source provider to target providers to enable me to share a standard set of UDTs. This worked beautifully in 8.1 and somehow only works partially in 8.3.

The problem is that the system.tag.configure() method fails with this error on some UDTs:

sourcePath = '[default]_types_/SourceUDT'
basePath = '[default]_types_/TargetFolder'

typeConfig = system.tag.getConfiguration(sourcePath, True)
print system.tag.configure(basePath, typeConfig, "o")
>> [Error_Configuration("java.lang.ClassCastException")]

I don’t know how to investigate the cause further. Something, in only some of my UDTs, are causing this.

I have stripped all the recursive browsing etc from the script and found the error still occurs on just the tag.configure of the offending UDTs.

Any advice or is this a bug?

For what it is worth, EAM has no problem sending these UDTs around. Unfortunately it is a maintenance nightmare to send UDT to 10 gateways with 10 tag providers each.

I got this working using system.tag.copy(), but I still don’t know why system.tag.configure() failed.

I only noticed system.tag.copy() now. Is this new or was it at one point marked as deprecated?