View Issue Details

IDProjectCategoryView StatusLast Update
0005730CTT UA Scripts1 - Script Issuepublic2023-10-05 14:34
ReporterThomas Merk Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Summary0005730: Base Information - Base Info Core Structure - 001.js
Description

For each instance of a PubSub connection the script reports an error for the proeprty "PublisherId".
The ConnectionType defines here a DataType "BaseDataType", i.e. Variant, which means that the instances can have all data types.
Specification restricts this to UInteger or String.
It is NOT possible to have a value of a scalar variant data type in instances!

The script should skip data type checks for all types using a Variant data type

TagsNo tags attached.
Files Affected

Activities

Thomas Merk

2020-06-16 13:04

reporter   ~0012334

I tested with 1.4.9.396

Paul Hunkar

2020-07-10 17:50

administrator   ~0012592

We are not understanding what the issue is you are reporting? can you provided more information?

Thomas Merk

2020-07-20 09:57

reporter   ~0012627

The issue is, that in the script the data types of variable values are validated - they shall match the type definition.
For the PublisherId a "Variant" data type is defined, which means that any data type is allowed here.
The script expects that an instance of this type has a value of data type "Variant", which is not possible.
Instances having string or UInteger values are reported as an error.

Issue History

Date Modified Username Field Change
2020-06-16 13:04 Thomas Merk New Issue
2020-06-16 13:04 Thomas Merk Note Added: 0012334
2020-07-10 17:50 Paul Hunkar Assigned To => Paul Hunkar
2020-07-10 17:50 Paul Hunkar Status new => feedback
2020-07-10 17:50 Paul Hunkar Note Added: 0012592
2020-07-20 09:57 Thomas Merk Note Added: 0012627
2020-07-20 09:57 Thomas Merk Status feedback => assigned
2022-08-02 20:04 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Scripts
2023-10-05 14:34 Paul Hunkar Assigned To Paul Hunkar => Alexander Allmendinger