View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006171 | Compliance Test Tool (CTT) Unified Architecture | 1 - Script Issue | public | 2020-10-22 11:04 | 2021-03-30 14:32 |
| Reporter | Hock, Christian | Assigned To | Sebastian Allmendinger | ||
| Priority | urgent | Severity | block | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 1.04.09.397 | ||||
| Target Version | 1.04.09.397 | Fixed in Version | 1.03.341.397 | ||
| Summary | 0006171: Monitored Item Services/Monitor Value Change/042.js hangs after an Item returns an error | ||||
| Description | function monitorValueChanges042() The Value of "i" (Line 66 to 69) will not change anymore if a item returns .isNotGood() See Picture with the marked code. We also believe, that the same problem might occour between:
In other words where ever a for-loop with "i" and in some case inside this loop "i--" is done. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Files Affected | |||||
|
|
the loop is doing two things, the I is used as an index into the results array and that index needs to increase as each is checked - the count of Item is decremented for an error and the index into this array needs to be decremented - both can not be the same index. |
|
|
Test script has been enhanced so that During the investigation of this issue several other test scripts with the same problem have been identified and have been updated too. |
|
|
Reviewed in cmp call - Agreed to changes and closed |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-10-22 11:04 | Hock, Christian | New Issue | |
| 2020-10-22 11:04 | Hock, Christian | File Added: CTT_EndlessLoop.PNG | |
| 2020-10-22 16:25 | Paul Hunkar | Note Added: 0013078 | |
| 2020-10-22 16:25 | Paul Hunkar | Assigned To | => Alexander Allmendinger |
| 2020-10-22 16:25 | Paul Hunkar | Status | new => assigned |
| 2020-10-23 05:24 | Sebastian Allmendinger | Assigned To | Alexander Allmendinger => Sebastian Allmendinger |
| 2020-11-13 20:09 | Sebastian Allmendinger | Status | assigned => resolved |
| 2020-11-13 20:09 | Sebastian Allmendinger | Resolution | open => fixed |
| 2020-11-13 20:09 | Sebastian Allmendinger | Fixed in Version | => 1.03.341.397 |
| 2020-11-13 20:09 | Sebastian Allmendinger | Note Added: 0013197 | |
| 2021-03-30 14:32 | Paul Hunkar | Status | resolved => closed |
| 2021-03-30 14:32 | Paul Hunkar | Note Added: 0014122 |