View Issue Details

IDProjectCategoryView StatusLast Update
0006388Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2021-03-26 15:29
ReporterEmil Söder Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version1.04.09.396 
Summary0006388: Attribute Write Values TC 05&06 expects different error codes
Description

I changed the error code from BADWRITENOTSUPPORTED to BADOUTOFRANGE after the respond to issue id 0006341 (https://apps.opcfoundation.org/mantis/view.php?id=6341). This leads to TC 06 (Write max value of each supported data type) now failing as this test expects BADWRITENOTSUPPORTED. Shouldn't these two tests (TC05 min value and TC06 max value) expect the same error code / work in a similar way? That is, should TC06 not accept BADOUTOFRANGE?

TagsNo tags attached.
Attached Files
Capture.PNG (44,138 bytes)   
Capture.PNG (44,138 bytes)   
Files Affected

Activities

Alexander Allmendinger

2021-02-02 15:57

developer   ~0013645

What you are describing are two different cases:

  1. Combination of Value, Timestamp and StatusCode is not supported --> In this case it is required to return a Bad_WriteNotSupported.
  2. Written Value is out of Range --> In this case it is required to return a Bad_OutOfRange

So the two mentioned issues are not related as they are different test scenarios. This should be preventable by exposing the limitations of the servers in the ServerCapabilities and CTT settings. Also if a specific variable has further restrictions than the global limit I recommend to add the MaxByteStringProperty to the node so clients are aware of the limitations. Those properties will also be used in a future version of the CTT to ensure the max of the node is not exceeded.

Paul Hunkar

2021-03-26 15:29

administrator   ~0014094

CMP reviewed and agreed to no change required

Issue History

Date Modified Username Field Change
2021-01-20 12:02 Emil Söder New Issue
2021-01-20 12:02 Emil Söder File Added: Capture.PNG
2021-01-21 17:36 Paul Hunkar Assigned To => Alexander Allmendinger
2021-01-21 17:36 Paul Hunkar Status new => assigned
2021-02-02 15:57 Alexander Allmendinger Status assigned => resolved
2021-02-02 15:57 Alexander Allmendinger Resolution open => no change required
2021-02-02 15:57 Alexander Allmendinger Note Added: 0013645
2021-03-26 15:29 Paul Hunkar Status resolved => closed
2021-03-26 15:29 Paul Hunkar Note Added: 0014094