View Issue Details

IDProjectCategoryView StatusLast Update
0009280CTT UA Scripts1 - Script Issuepublic2023-11-29 06:03
ReporterSebastian Allmendinger Assigned ToSebastian Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.03.505 
Fixed in Version1.03.506 
Summary0009280: Monitor Value Change 014 throws error if MaxSupportedMonitoredItems = 0
Description

If "Max Supported MonitoredItems" is set to 0 in the CTT settings, then the test script runs with 0 MonitoredItems.
Of course, this result in BadNothingToDo errors in the server when the CTT tries to create 0 MonitoredItems.

Steps To Reproduce

Run test script with "Max Supported MonitoredItems" set to 0.

TagsNo tags attached.
Files Affected

/maintree/Monitored Item Services/Monitor Value Change/Test Cases/014.js

Activities

Sebastian Allmendinger

2023-11-28 14:31

developer   ~0020421

There is already a variable defined in the initialize script that reads the limit from the CTT settings. In the case of 0, the value of the variable is set to the number of nodes that can be configured in the CTT settings.
So instead of reading the setting again and set the number to any other value than 0, the test script has been updated to use the already existing variable of the intialize script.

Paul Hunkar

2023-11-29 06:03

administrator   ~0020449

reviewed - agreed to change and closed

Issue History

Date Modified Username Field Change
2023-11-27 14:59 Sebastian Allmendinger New Issue
2023-11-27 16:07 Paul Hunkar Assigned To => Sebastian Allmendinger
2023-11-27 16:07 Paul Hunkar Status new => assigned
2023-11-28 14:26 Sebastian Allmendinger Files Affected => /maintree/Monitored Item Services/Monitor Value Change/Test Cases/014.js
2023-11-28 14:31 Sebastian Allmendinger Status assigned => resolved
2023-11-28 14:31 Sebastian Allmendinger Resolution open => fixed
2023-11-28 14:31 Sebastian Allmendinger Note Added: 0020421
2023-11-29 06:03 Paul Hunkar Status resolved => closed
2023-11-29 06:03 Paul Hunkar Fixed in Version => 1.03.506
2023-11-29 06:03 Paul Hunkar Note Added: 0020449