View Issue Details

IDProjectCategoryView StatusLast Update
0007997CTT UA Binary3 - Feature Requestpublic2024-03-27 15:28
ReporterYannik Klaass Assigned ToYannik Klaass  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.11.0.411 
Summary0007997: Calling IsSubTypeOfTypeHelper.Execute() with unknown NodeIds leads to Ctt_Bad
Description

When calling IsSubTypeOfTypeHelper.Execute() with an unknown ItemNodeId and/or TypeNodeId, it will print an error 'IsSubTypeOfType failed, status Ctt_Bad'. The CTT should return a more precise error code in that case, as Ctt_Bad makes it seem like a bug in the CTT.

Steps To Reproduce

Call IsSubTypeOfTypeHelper.Execute() with an unknown ItemNodeId and/or TypeNodeId.

TagsNo tags attached.
Files Affected

Binary Fix

Relationships

has duplicate 0008302 closedPaul Hunkar Compliance Test Tool (CTT) Unified Architecture CTT 1.04.500 Basic View Tests failed with "IsSubTypeOfType failed, status Ctt_Bad (0xb0000000)" 

Activities

Paul Hunkar

2022-05-19 14:48

administrator   ~0016728

We should look for CTT_Bad and see what is the appropriate error code for each (find the correct UA code and then add the CTT flag) [not just this instance]

Paul Hunkar

2023-05-19 14:49

administrator   ~0019402

Needs more information to better understand what could be done - can the exact script that is using this be included

Archie Miller

2023-05-19 17:15

administrator   ~0019423

The IsSubTypeOfType method does not necessarily talk to the server for this operation, it works on the object model cache that is created on a test run initialization.
Any errors encountered typically deal with a lack of information in the object model cache, usually from not having the ability to read the complete object model.
As such, having a 'Bad' error code is proper behaviour.

These errors, when encountered, are output to the trace window.

Sebastian Allmendinger

2023-10-24 07:57

developer   ~0020222

While testing a gateway we ran into this problem in many test scripts. Because the Gateway was configured with connections to several reference servers, the address space contained many nodes.
Perhaps it may be a good idea enhancing this functionality in a way that it automatically tries to browse/read the requested node if it is not part of the model map and if the server returns a valid response, also automatically updates the map.
Whether this is done best in the binaries or in the Helper needs to be discussed. I don't think, that we should do this in every test script that uses the offline map.

Archie Miller

2024-01-03 16:53

administrator   ~0020566

Requires special merge attention

Paul Hunkar

2024-01-04 15:54

administrator   ~0020572

Last edited: 2024-01-04 15:56

please merge the update - them mark as resolved again

Paul Hunkar

2024-03-27 15:28

administrator   ~0021054

reviewed changes in call, agreed to changes and closed issue

Issue History

Date Modified Username Field Change
2022-05-18 07:54 Yannik Klaass New Issue
2022-05-19 14:48 Paul Hunkar Note Added: 0016728
2022-05-19 14:48 Paul Hunkar Assigned To => Archie Miller
2022-05-19 14:48 Paul Hunkar Status new => assigned
2023-05-19 14:49 Paul Hunkar Status assigned => feedback
2023-05-19 14:49 Paul Hunkar Note Added: 0019402
2023-05-19 17:15 Archie Miller Note Added: 0019423
2023-08-03 15:47 Paul Hunkar Relationship added has duplicate 0008302
2023-10-19 14:26 Paul Hunkar Status feedback => assigned
2023-10-24 07:57 Sebastian Allmendinger Note Added: 0020222
2024-01-03 16:53 Archie Miller Status assigned => resolved
2024-01-03 16:53 Archie Miller Resolution open => fixed
2024-01-03 16:53 Archie Miller Note Added: 0020566
2024-01-03 16:53 Archie Miller Files Affected => Binary Fix
2024-01-04 15:54 Paul Hunkar Assigned To Archie Miller => Yannik Klaass
2024-01-04 15:54 Paul Hunkar Note Added: 0020572
2024-01-04 15:56 Paul Hunkar Status resolved => assigned
2024-01-04 15:56 Paul Hunkar Note Edited: 0020572
2024-03-20 13:23 Yannik Klaass Status assigned => resolved
2024-03-27 15:27 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Binary
2024-03-27 15:28 Paul Hunkar Product Version 1.03.341.401 =>
2024-03-27 15:28 Paul Hunkar Fixed in Version => 1.11.0.411
2024-03-27 15:28 Paul Hunkar Status resolved => closed
2024-03-27 15:28 Paul Hunkar Note Added: 0021054