View Issue Details

IDProjectCategoryView StatusLast Update
0007898CTT UA Scripts1 - Script Issuepublic2023-02-18 06:22
ReporterSebastian Allmendinger Assigned ToSebastian Allmendinger  
PrioritynormalSeveritymajorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version1.03.502Fixed in Version1.04.501 
Summary0007898: Method Call / Err-001: Test script accepts wrong OperationResults
Description

The test script tries to call a method while passing a valid ObjectId (server object) and an invalid MethodId (configurable via CTT settings).
According to the specification, Bad_MethodInvalid has to be returned in such cases, but the test script also accepts Bad_NodeIdUnknown and Bad_NodeIdInvalid. These OperationResults are intended to be only used if the ObjectId is invalid/unknown.

TagsNo tags attached.
Files Affected

/maintree/Method Services/Method Call/Test Cases/Err-001.js

Activities

Alexander Allmendinger

2022-03-31 15:09

developer   ~0016512

Discussed in CMP Call:
As multiple reference products behave not correctly in this case we decided to raise this issue to the UA WG to see if this requirement needs to be enforced or the spec will be relaxed to allow the more prominent behavior.

Paul Hunkar

2022-04-05 17:07

administrator   ~0016531

Last edited: 2022-04-05 17:10

Discussed this topic in the UA working group - Summary is to enforce the correct error.
The specification is expecting Bad_MethodInvalid, the other error code are related to the ObjectId, which is valid and present.
from call service error codes:
Bad_NodeIdInvalid See Table 183 for the description of this result code. Used to indicate that the specified Object is not valid.
Bad_NodeIdUnknown See Table 183 for the description of this result code. Used to indicate that the specified Object is not valid.

This is an issue that SDK vendor should be notified about and given a chance to correct before it is enforce on products in general

Sebastian Allmendinger

2023-01-21 16:41

developer   ~0018544

Bad_NodeIdInvalid and Bad_NodeIdUnknown have been removed from the ExpectedAndAcceptedResults and the test script now only allows Bad_MethodInvalid.

Paul Hunkar

2023-02-18 06:17

administrator   ~0018745

Last edited: 2023-02-18 06:22

Reviewed in call (2023-02-10) agreed to changes, closed issue

Issue History

Date Modified Username Field Change
2022-03-29 08:44 Sebastian Allmendinger New Issue
2022-03-31 15:09 Alexander Allmendinger Note Added: 0016512
2022-04-05 17:07 Paul Hunkar Note Added: 0016531
2022-04-05 17:10 Paul Hunkar Note Edited: 0016531
2022-04-05 17:10 Paul Hunkar Assigned To => Sebastian Allmendinger
2022-04-05 17:10 Paul Hunkar Status new => assigned
2022-08-02 20:04 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Scripts
2023-01-21 16:38 Sebastian Allmendinger Files Affected => /maintree/Method Services/Method Call/Test Cases/Err-001.js
2023-01-21 16:41 Sebastian Allmendinger Status assigned => resolved
2023-01-21 16:41 Sebastian Allmendinger Resolution open => fixed
2023-01-21 16:41 Sebastian Allmendinger Note Added: 0018544
2023-02-18 06:17 Paul Hunkar Fixed in Version => 1.04.501
2023-02-18 06:17 Paul Hunkar Target Version => 1.03.502
2023-02-18 06:17 Paul Hunkar Status resolved => closed
2023-02-18 06:17 Paul Hunkar Note Added: 0018745
2023-02-18 06:22 Paul Hunkar Note Edited: 0018745