View Issue Details

IDProjectCategoryView StatusLast Update
0010351CTT UA Scripts1 - Script Issuepublic2025-06-10 08:14
ReporterSebastian Allmendinger Assigned ToYannik Klaass  
PrioritynormalSeverityblockReproducibilityhave not tried
Status assignedResolutionopen 
Summary0010351: Calling UaStructureDefinition.fromTypeNodeId() may result in an infinite loop
Description

If UaStructureDefinition.fromTypeNodeId() is called for a StructureDefinition that contains a field of its own DataType, the function keeps calling itself to learn the DataTypeDefinition of this field.

Steps To Reproduce

OPC 10031-4: ISA-95-4 Job Control defines a Structure 'ISA95PropertyDataType' (ns=x;i=3002) with 5 fields. One of the fields (Subproperties) has the same DataType as the structure itself.
Calling the function with this NodeId leads to the described infinite loop.

TagsNo tags attached.
Files Affected

Activities

Paul Hunkar

2025-06-03 03:04

administrator   ~0022894

In ISA95 - the nested structure is an Optional element - so instances do not go on forever (since usually it is not included)

Issue History

Date Modified Username Field Change
2025-05-31 14:05 Sebastian Allmendinger New Issue
2025-06-03 03:02 Paul Hunkar Assigned To => Sebastian Allmendinger
2025-06-03 03:02 Paul Hunkar Status new => assigned
2025-06-03 03:04 Paul Hunkar Note Added: 0022894
2025-06-10 08:14 Sebastian Allmendinger Assigned To Sebastian Allmendinger => Yannik Klaass