View Issue Details

IDProjectCategoryView StatusLast Update
0004366Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2019-08-09 15:15
Reporter17zhangw Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.03.340.380 
Target Version1.03Fixed in Version1.03.341.381 
Summary0004366: Monitor Basic Err-042.js being skipped even though numeric node configured
Description

The warning message presented before the test is skipped is:
Setting not configured: '/Server Test/NodeIds/Static/All Profiles/Scalar/Byte,/Server Test/NodeIds/Static/All Profiles/Scalar/Double,/Server
Test/NodeIds/Static/All Profiles/Scalar/Float,/Server Test/NodeIds/Static/All Profiles/Scalar/Int16,/Server Test/NodeIds/Static/All
Profiles/Scalar/Int32,/Server Test/NodeIds/Static/All Profiles/Scalar/Int64,/Server Test/NodeIds/Static/All Profiles/Scalar/SByte,/Server
Test/NodeIds/Static/All Profiles/Scalar/UInt16,/Server Test/NodeIds/Static/All Profiles/Scalar/UInt32,/Server Test/NodeIds/Static/All
Profiles/Scalar/UInt64'.

This should not be happening because the CTT has already been configured with all those nodes. Upon closer inspection, the call made to readSetting() will succeed if each setting is passed in individually.

i.e:
readSetting("/Server Test/NodeIds/Static/All Profiles/Scalar/Double") returns a nodeid
readSetting("/Server Test/NodeIds/Static/All Profiles/Scalar/Byte") returns a nodeid
readSetting("/Server Test/NodeIds/Static/All Profiles/Scalar/Double,/Server Test/NodeIds/Static/All Profiles/Scalar/Byte") does not return any nodeid.

TagsNo tags attached.
Files Affected

Activities

Alexander Allmendinger

2018-08-10 11:01

developer   ~0009295

In order to fix the issue change the code line 6 to
var item = MonitoredItem.fromSettings(Settings.ServerTest.NodeIds.Static.AllProfiles.Scalar.NumericSettings)[0];

Paul Hunkar

2019-08-09 15:15

administrator   ~0010732

reviewed in CMP call

Issue History

Date Modified Username Field Change
2018-08-08 13:34 17zhangw New Issue
2018-08-09 11:50 Paul Hunkar Assigned To => Alexander Allmendinger
2018-08-09 11:50 Paul Hunkar Status new => assigned
2018-08-10 11:01 Alexander Allmendinger Note Added: 0009295
2018-08-10 11:01 Alexander Allmendinger Status assigned => resolved
2018-08-10 11:01 Alexander Allmendinger Fixed in Version => 1.03.341.381
2018-08-10 11:01 Alexander Allmendinger Resolution open => fixed
2019-01-28 14:10 Paul Hunkar Category Script Issue => 1 - Script Issue
2019-08-09 15:14 Paul Hunkar Target Version => 1.03
2019-08-09 15:15 Paul Hunkar Status resolved => closed
2019-08-09 15:15 Paul Hunkar Note Added: 0010732