View Issue Details

IDProjectCategoryView StatusLast Update
0007092Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2021-07-09 14:59
ReporterSebastian Allmendinger Assigned ToSebastian Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.03.341.398 
Fixed in Version1.03.341.399 
Summary0007092: Library function "Assert.StatusCodeIsOneOf" may return a wrong error message
Description

If the StatusCode, that should be validated, is part of the "AcceptedResults" and the function is called without the optional parameter "okMessage", the function throws an error message instead.

Additional Information

if( match && isDefined( okMessage ) ) addWarning( okMessage + ": " + actualStatusCode + " but " + expectedStatusCodes.toString() + " was expected", actualStatusCode );
else addError( message + " Expected: " + expectedStatusCodes.ExpectedResults.toString() + " but received: " + actualStatusCode, actualStatusCode );

The second part of the if statement needs to be split off in a subsequent one.

TagsNo tags attached.
Files Affected

Activities

Sebastian Allmendinger

2021-07-09 14:49

developer   ~0014670

Resolved as suggested.

Paul Hunkar

2021-07-09 14:59

administrator   ~0014673

review in CMP call, agreed to change and closed

Issue History

Date Modified Username Field Change
2021-07-08 08:29 Sebastian Allmendinger New Issue
2021-07-09 14:45 Paul Hunkar Assigned To => Sebastian Allmendinger
2021-07-09 14:45 Paul Hunkar Status new => assigned
2021-07-09 14:49 Sebastian Allmendinger Status assigned => resolved
2021-07-09 14:49 Sebastian Allmendinger Resolution open => fixed
2021-07-09 14:49 Sebastian Allmendinger Fixed in Version => 1.03.341.399
2021-07-09 14:49 Sebastian Allmendinger Note Added: 0014670
2021-07-09 14:59 Paul Hunkar Status resolved => closed
2021-07-09 14:59 Paul Hunkar Note Added: 0014673