View Issue Details

IDProjectCategoryView StatusLast Update
0004376Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2021-03-26 14:19
ReporterMartin Lang Assigned ToSebastian Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version1.03.340.380 
Summary0004376: Attribute Write Values/003.js - DataType ByteString script tries to write NULL
Description

The script tries to write "length=-1, data=NULL" if the first Byte of the bytestring is in the range 0x00-0x0e. Some underlaying systems maybe not accept this value.
Either the script accept some bad statuscode or does never write "length=-1, data=NULL".

Steps To Reproduce
  • Setup ByteString VariableNode
  • intialize it with for instance 0x03 (0x00-0x0e, same result)
  • execute CTT script, tries to write length=-1, data=NULL
  • if the Server or rather the underlaying System does not accept this value a bad statuscode will be returned.
TagsNo tags attached.
Files Affected

Relationships

duplicate of 0006341 closedSebastian Allmendinger Attribute Write Values TC 03&05: error when DUT not support Null ByteString. 

Activities

Alexander Allmendinger

2018-10-31 20:38

developer   ~0009507

This is a more general question. The CTT uses the minimum defined by the Specification in Part 6 Mappings where it is defined like this:

If the length of the byte string is −1 then the byte string is ‘null’.

Therefore this is a general question if we need tests to verify the server supports the full range of values or if we are fine with receiving a Bad_OutOfRange for any DataType when trying to write new values because we exceeded the Low or High limit of the value.

Martin Lang

2020-12-08 14:47

reporter   ~0013400

The 1.04 defines a new Variable attribute AllowNulls. If a server does not explicit allow Null values, it shall be permitted that a server can response a bad statuscode and maybe CTT throws a script warning?

Alexander Allmendinger

2021-02-24 19:13

developer   ~0013807

fix is tracked in the related Mantis 6341

Paul Hunkar

2021-03-26 14:19

administrator   ~0014082

Reviewed in CMP call - Agreed to changes and closed

Issue History

Date Modified Username Field Change
2018-08-28 12:35 Martin Lang New Issue
2018-08-30 14:28 Paul Hunkar Assigned To => Alexander Allmendinger
2018-08-30 14:28 Paul Hunkar Status new => assigned
2018-10-31 20:36 Alexander Allmendinger Assigned To Alexander Allmendinger => Paul Hunkar
2018-10-31 20:38 Alexander Allmendinger Note Added: 0009507
2019-01-28 14:10 Paul Hunkar Category Script Issue => 1 - Script Issue
2020-12-08 14:47 Martin Lang Note Added: 0013400
2021-01-18 07:03 Sebastian Allmendinger Relationship added has duplicate 0006341
2021-02-20 05:49 Paul Hunkar Assigned To Paul Hunkar => Sebastian Allmendinger
2021-02-24 19:13 Alexander Allmendinger Status assigned => resolved
2021-02-24 19:13 Alexander Allmendinger Resolution open => duplicate
2021-02-24 19:13 Alexander Allmendinger Note Added: 0013807
2021-02-24 19:13 Alexander Allmendinger Relationship replaced duplicate of 0006341
2021-03-26 14:19 Paul Hunkar Status resolved => closed
2021-03-26 14:19 Paul Hunkar Note Added: 0014082