View Issue Details

IDProjectCategoryView StatusLast Update
0004078Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2019-08-31 14:47
ReporterBernd Edlinger Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityrandom
Status closedResolutionfixed 
PlatformPCOSWindowsOS Version8.1
Product Version1.03.340.378 
Target Version1.03Fixed in Version1.03 
Summary0004078: Security/Security None/006.js ReferenceError: Can't find variable: ExpectedErrors
Description

function:
file: C:/temp/CTT_1.3.340.378/CppTestServer/maintree/Security/Security None/Test Cases/006.js
line: 75

This happens rarely.

TagsNo tags attached.
Files Affected

Activities

Bernd Edlinger

2017-11-27 14:14

reporter   ~0008750

just a guess, the callstack is incomplete:
DoSAttempt at 006.js calls

CloseSecureChannelHelper.Execute( { Channel: channels[i], ServiceResult: new ExpectedAndAcceptedResults( StatusCode.Good ) } );

and library/ServiceBased/SecureChannel/CloseSecureChannel.js
does this

        if( isDefined( args.ServiceResult ) ) {
            var result = args.ServiceResult.containsStatusCode( this.UaStatus );
            if( !result ) addError( "CloseSecureChannel().Result received " + this.UaStatus.toString() + ", but expected any one of the following:\n\t" + ExpectedErrors.ExpectedResults.toString(), this.UaStatus );
        }

a) this does not check if ExpectedErrors is defined
b) this should print args.ServiceResult.ExpectedResults.toString() or similar

Alexander Allmendinger

2018-02-14 17:43

developer   ~0008877

Agreed on the fact that the object ExpectedErrors isn't defined anywhere, therefore following Bernd Edlingers suggestion.

Paul Hunkar

2019-08-31 14:47

administrator   ~0010859

reviewed in extra CMP call

Issue History

Date Modified Username Field Change
2017-11-27 13:43 Bernd Edlinger New Issue
2017-11-27 13:43 Bernd Edlinger Status new => assigned
2017-11-27 13:43 Bernd Edlinger Assigned To => Alexander Allmendinger
2017-11-27 14:14 Bernd Edlinger Note Added: 0008750
2017-12-01 15:39 Paul Hunkar Target Version => 1.03
2018-02-14 17:43 Alexander Allmendinger Note Added: 0008877
2018-02-14 17:43 Alexander Allmendinger Status assigned => resolved
2018-02-14 17:43 Alexander Allmendinger Fixed in Version => 1.03
2018-02-14 17:43 Alexander Allmendinger Resolution open => fixed
2019-01-28 14:10 Paul Hunkar Category Script Issue => 1 - Script Issue
2019-08-31 14:47 Paul Hunkar Status resolved => closed
2019-08-31 14:47 Paul Hunkar Note Added: 0010859