View Issue Details

IDProjectCategoryView StatusLast Update
0006823Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2021-05-20 14:45
ReporterSebastian Allmendinger Assigned ToSebastian Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.03.341.398 
Target Version1.03.341.399Fixed in Version1.03.341.399 
Summary0006823: Base Info Core Structure / InfoFactory: Script expects the wrong NodeClass for targets of (Always-)GeneratesEvent references
Description

The script tries to find the TypeDefinition of the target of a GeneratesEvent or a AlwaysGeneratesEvent reference. But the target has to be an ObjectType, so there won't be a HasTypeDefinition-Reference available. Therefore this check will never succeed and the used library function always throws an error.

TagsNo tags attached.
Files Affected

Activities

Paul Hunkar

2021-04-22 15:00

administrator   ~0014241

The script should be checking that the target of the reference type is an EventType (i.e. it descends from BaseEventType)

Sebastian Allmendinger

2021-05-18 14:47

developer   ~0014388

The test script is already prepared to check that the target of the reference type is an EventType (i.e. it descends from BaseEventType) but the code was never executed due to a wrong check.
The script now uses the NodeId of the target node in the BrowseResponse instead of the non-exisiting TypeDefinition (because the target shall already be a type).

Paul Hunkar

2021-05-20 14:45

administrator   ~0014405

reviewed in CMP call , agreed to and closed

Issue History

Date Modified Username Field Change
2021-04-19 10:04 Sebastian Allmendinger New Issue
2021-04-22 15:00 Paul Hunkar Note Added: 0014241
2021-04-22 15:00 Paul Hunkar Assigned To => Sebastian Allmendinger
2021-04-22 15:00 Paul Hunkar Status new => assigned
2021-05-16 14:43 Alexander Allmendinger Target Version => 1.03.341.399
2021-05-18 14:47 Sebastian Allmendinger Status assigned => resolved
2021-05-18 14:47 Sebastian Allmendinger Resolution open => fixed
2021-05-18 14:47 Sebastian Allmendinger Fixed in Version => 1.03.341.399
2021-05-18 14:47 Sebastian Allmendinger Note Added: 0014388
2021-05-20 14:45 Paul Hunkar Status resolved => closed
2021-05-20 14:45 Paul Hunkar Note Added: 0014405