View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008459 | CTT UA Scripts | 1 - Script Issue | public | 2022-11-25 07:18 | 2023-05-12 14:17 |
Reporter | Bernd Edlinger | Assigned To | Bernd Edlinger | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 1.03.503 | ||||
Summary | 0008459: Error in Base Information Value As Text/002.js | ||||
Description | Using Compliance Test Tool V1.04.11-01.00.501 I see a test failure in this script. Wirestark suggests that the ReadRequest's NodesToRead array is a NULL array, | ||||
Tags | No tags attached. | ||||
Files Affected | |||||
|
I checked the scripts and it should correctly be skipped, if no matching nodes are configured. I also tested it on my machine where it works fine. |
|
Issue is in line 24 of the script. _parentsOfValueAsTextProperty[0] is the actual NodeId not a MonitoredItem in the CTT, therefore .NodeId is not defined which results in parentItem being undefined as well. By removing the .NodeId property access it will use the actual NodeId to create the MonitoredItem and the script will be run. var parentItem = MonitoredItem.fromNodeIds( _parentsOfValueAsTextProperty[0] )[0]; |
|
reviewed change in call, agreed to change, closed issue |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-11-25 07:18 | Bernd Edlinger | New Issue | |
2023-01-26 17:01 | Paul Hunkar | Assigned To | => Alexander Allmendinger |
2023-01-26 17:01 | Paul Hunkar | Status | new => assigned |
2023-01-26 17:02 | Paul Hunkar | Project | Compliance Test Tool (CTT) Unified Architecture => CTT UA Scripts |
2023-05-03 07:59 | Alexander Allmendinger | Assigned To | Alexander Allmendinger => Bernd Edlinger |
2023-05-03 07:59 | Alexander Allmendinger | Status | assigned => feedback |
2023-05-03 07:59 | Alexander Allmendinger | Note Added: 0019268 | |
2023-05-12 13:07 | Alexander Allmendinger | Status | feedback => resolved |
2023-05-12 13:07 | Alexander Allmendinger | Resolution | open => fixed |
2023-05-12 13:07 | Alexander Allmendinger | Note Added: 0019344 | |
2023-05-12 14:17 | Paul Hunkar | Status | resolved => closed |
2023-05-12 14:17 | Paul Hunkar | Fixed in Version | => 1.03.503 |
2023-05-12 14:17 | Paul Hunkar | Note Added: 0019346 |