View Issue Details

IDProjectCategoryView StatusLast Update
0004140Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2019-08-09 14:55
ReporterCamille Dominique Reyes Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.03.340.380 
Target Version1.03Fixed in Version1.03.341.381 
Summary0004140: 'items[t]' [undefined] is not an object in Attribute Write Values 003.js
Description

The following error appears when Attribute Write Values test case 003.js is ran:

Test.Execute() encounted an unexpected error: TypeError: Result of expression 'items[i]' [undefined] is not an object.

Steps To Reproduce

Run Attribute Write Values test case 003.js.
The error will appear in the logs.

Additional Information

Upon debugging (see uploaded screenshot), the error seems to happen when items.length < itemsByType.length

The code in line 32 goes out of bounds:
if (items[i].NodeSetting == ...) ...

changing the code to

if (itemsByType[i].NodeSetting == ...) ... fixes this problem

Issue is similar to 0003917 however a different error is now raised instead of BadOutOfRange.

TagsNo tags attached.
Attached Files
Write_Values_003.PNG (137,844 bytes)   
Write_Values_003.PNG (137,844 bytes)   
Files Affected

Activities

Alexander Allmendinger

2018-10-02 09:23

developer   ~0009444

followed suggested fix

Paul Hunkar

2019-08-09 14:55

administrator   ~0010727

reviewed in CMP call

Issue History

Date Modified Username Field Change
2018-01-30 02:03 Camille Dominique Reyes New Issue
2018-01-30 02:03 Camille Dominique Reyes File Added: Write_Values_003.PNG
2018-08-31 17:18 Paul Hunkar Assigned To => Alexander Allmendinger
2018-08-31 17:18 Paul Hunkar Status new => assigned
2018-10-02 09:23 Alexander Allmendinger Note Added: 0009444
2018-10-02 09:23 Alexander Allmendinger Status assigned => resolved
2018-10-02 09:23 Alexander Allmendinger Fixed in Version => 1.03.341.381
2018-10-02 09:23 Alexander Allmendinger Resolution open => fixed
2019-01-28 14:10 Paul Hunkar Category Script Issue => 1 - Script Issue
2019-08-09 14:55 Paul Hunkar Target Version => 1.03
2019-08-09 14:55 Paul Hunkar Status resolved => closed
2019-08-09 14:55 Paul Hunkar Note Added: 0010727