View Issue Details

IDProjectCategoryView StatusLast Update
0007315Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2021-09-30 14:54
ReporterAlexander Allmendinger Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.03.341.399 
Summary0007315: Scripts are not handling the case of no configured items correctly, because it is only checking for isDefined and not the length
Description

In several scripts it is only checked whether the variable with the gained configured items isDefined. This check will only check for the variable to be defined and not NULL while sometimes it is defined as an empty array and therefore both checks will be fine. So in addition to the existing isDefined it also needs to check whether the array length is greater than 0.

Additional Information

Affected scripts are e.g.:

  • Monitored Item Services\Monitor Items 2\initialize
  • Address Space Model\Address Space Method\001
  • Subscription Services\Subscription Publish Min 10\001
  • Monitored Item Services\Monitor Basic\initialize
  • Monitored Item Services\Monitor Triggering\initialize
  • Monitored Item Services\Monitor MinQueueSize_02\initialize
  • Monitored Item Services\Monitor MinQueueSize_05\initialize
  • Monitored Item Services\Monitor MinQueueSize_10\initialize
TagsNo tags attached.
Files Affected

Relationships

related to 0006037 closedAlexander Allmendinger Failing write tests on a read only OPC UA Server 
related to 0007318 closedAlexander Allmendinger Monitored Item Services / Monitor Events / Err-001: Prints unneccesary error 

Activities

Alexander Allmendinger

2021-09-30 10:14

developer   ~0015067

Added length check.

Paul Hunkar

2021-09-30 14:54

administrator   ~0015080

Reviewed updates in meeting, agreed to changes and closed issue

Issue History

Date Modified Username Field Change
2021-09-27 08:12 Alexander Allmendinger New Issue
2021-09-27 10:13 Alexander Allmendinger Relationship added related to 0006037
2021-09-27 16:22 Paul Hunkar Assigned To => Alexander Allmendinger
2021-09-27 16:22 Paul Hunkar Status new => assigned
2021-09-27 16:49 Paul Hunkar Relationship added related to 0007318
2021-09-30 10:14 Alexander Allmendinger Status assigned => resolved
2021-09-30 10:14 Alexander Allmendinger Resolution open => fixed
2021-09-30 10:14 Alexander Allmendinger Fixed in Version => 1.03.341.399
2021-09-30 10:14 Alexander Allmendinger Note Added: 0015067
2021-09-30 14:54 Paul Hunkar Status resolved => closed
2021-09-30 14:54 Paul Hunkar Note Added: 0015080