View Issue Details

IDProjectCategoryView StatusLast Update
0004152Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2019-08-07 11:49
ReporterFei Wang Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version1.03Fixed in Version1.03.341.381 
Summary0004152: View TranslateBrowsePath - Err-021.js The number of results does not match the number of BrowsePaths
Description

Problem: The number of results does not match the number of BrowsePaths
CTT version:1.3.340.358

Description: When the requested BrowsePaths for translation exceeds the limitation of server, Bad_TooManyOperations was returned, but after that, the CTT still checks the number of results, and if it doesn't match the number of requested BrowsePaths, error will occurs.

Expect: If the server can not handle the requests, it just return Bad_TooManyOperation, and does not need to create same number of results, because there is nothing in the results.

Additional Information

From Mr. Allmendinger:
There are two options for the server:

  1. ServiceFault
    This would basically match your description. If the server doesn’t like to prepare a request which is specifying an operation result for each requested operation, the server needs to return a ServiceFault as specified in the chapter ServiceFault in Part 4 Services.

  2. OperationFault
    The other opportunity would be to prepare a response which is specifying an bad operation result for each requested operation. The specification does allow to use a service result in an operation result if needed. You’ll find this information in the Common StatusCodes chapter in Part 4 Services.

TagsNo tags attached.
Files Affected

Relationships

has duplicate 0004375 closedAlexander Allmendinger TranslateBrwosePath\Err-021.js - The number of results does not match the number of BrowsePaths. 

Activities

Paul Hunkar

2018-02-22 16:38

administrator   ~0008885

reviewed in CTT - agreed to target 1.03

Alexander Allmendinger

2018-08-06 11:18

developer   ~0009267

Problem is located in the TranslateBrowsePathsToNodeIds.js where the OpeationResults were always verified. Changed the code line 73 to
if( result && this.Response.ResponseHeader.ServiceResult.isGood() ) {
which should solve the problem.

Paul Hunkar

2019-08-07 11:49

administrator   ~0010705

reviewed in CMP call 8/1/2019

Issue History

Date Modified Username Field Change
2018-02-08 02:04 Fei Wang New Issue
2018-02-22 16:38 Paul Hunkar Note Added: 0008885
2018-02-22 16:38 Paul Hunkar Target Version => 1.03
2018-02-22 16:38 Paul Hunkar Assigned To => Alexander Allmendinger
2018-02-22 16:38 Paul Hunkar Status new => assigned
2018-08-06 11:18 Alexander Allmendinger Note Added: 0009267
2018-08-06 11:18 Alexander Allmendinger Status assigned => resolved
2018-08-06 11:18 Alexander Allmendinger Fixed in Version => 1.03.341.381
2018-08-06 11:18 Alexander Allmendinger Resolution open => fixed
2018-10-02 13:39 Alexander Allmendinger Relationship added has duplicate 0004375
2019-01-28 14:10 Paul Hunkar Category Script Issue => 1 - Script Issue
2019-08-07 11:49 Paul Hunkar Status resolved => closed
2019-08-07 11:49 Paul Hunkar Note Added: 0010705