View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005647 | Compliance Test Tool (CTT) Unified Architecture | 1 - Script Issue | public | 2020-05-14 11:29 | 2020-05-28 15:38 |
Reporter | Matti Siponen | Assigned To | Alexander Allmendinger | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.04.09.394 | ||||
Target Version | 1.04.09.396 | Fixed in Version | 1.03.341.396 | ||
Summary | 0005647: Data Access / Data Access Semantic Changes / 016.js and 017.js attempt to call CreateMonitoredItems with an empty array | ||||
Description | These test scripts attempt to call CreateMonitoredItems with empty arrays in ItemsToCreate parameter, which causes an unexpected Bad_NothingToDo Exception causing the tests to be aborted with errors. This also effects CTT version 1.04.09.395 | ||||
Additional Information | These scripts can be fixed by replacing the following lines of code on line 30 in both 016.js and 017.js for( var i=0; i<TranslateBrowsePathsToNodeIdsHelper.Response.Results.length; i++ ) { with the following lines of code for( var i=0; i<TranslateBrowsePathsToNodeIdsHelper.Response.Results.length; i++ ) { | ||||
Tags | No tags attached. | ||||
Files Affected | |||||
|
The script was missing to add the analogNode but was only adding the properties. As a result the analogNodes stayed an empty list and when the analogNodes were passed in the CreateMonitoredItems call, it was calling that service with an empty array. Now the analogNodes are assigned after checking the properties so they can be created. |
|
reviewed in CMP call |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-05-14 11:29 | Matti Siponen | New Issue | |
2020-05-15 17:47 | Paul Hunkar | Assigned To | => Alexander Allmendinger |
2020-05-15 17:47 | Paul Hunkar | Status | new => assigned |
2020-05-27 12:24 | Alexander Allmendinger | Status | assigned => resolved |
2020-05-27 12:24 | Alexander Allmendinger | Resolution | open => fixed |
2020-05-27 12:24 | Alexander Allmendinger | Fixed in Version | => 1.03.341.396 |
2020-05-27 12:24 | Alexander Allmendinger | Note Added: 0012119 | |
2020-05-28 15:38 | Paul Hunkar | Target Version | => 1.04.09.396 |
2020-05-28 15:38 | Paul Hunkar | Status | resolved => closed |
2020-05-28 15:38 | Paul Hunkar | Note Added: 0012138 |