View Issue Details

IDProjectCategoryView StatusLast Update
0006004CTT UA Scripts1 - Script Issuepublic2022-10-14 16:08
ReporterHock, Christian Assigned ToSebastian Allmendinger  
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.03.501 
Summary0006004: Testcase: Base Information/Base Info Core Structure/
Description

001: The features that are “Mandatory” in V1.04 are displayed as “Warnings”. “Fully exposed type System” in CTT settings is turned off.

ERROR: in CTT: If the Type do not exists there are warning thrown for each member of the not existing type.

Expected: "Skipped" or "Not supported" - when the CTT settings is turned off.

Steps To Reproduce

Remove e.g. the "HistoryServerCapabilitiesType".

TagsNo tags attached.
Files Affected

/library/Base/settings.js
/library/Information/_Base/NodeContainsSubStructure.js
/library/Information/InfoFactory.js
/maintree/Base Information/Base Info Core Structure/Test Cases/001.js
/maintree/Base Information/Base Info Core Structure/Test Cases/initialize.js
/maintree/Base Information/Base Info Core Structure/Test Cases/cleanup.js
/maintree/Base Information/Base Info Type System/Test Cases/DataTypesValidation.js
/maintree/Base Information/Base Info Type System/Test Cases/EventTypesValidation.js
/maintree/Base Information/Base Info Type System/Test Cases/initialize.js
/maintree/Base Information/Base Info Type System/Test Cases/ObjectTypesValidation.js
/maintree/Base Information/Base Info Type System/Test Cases/ReferenceTypesValidation.js
/maintree/Base Information/Base Info Type System/Test Cases/VariableTypesValidation.js

Relationships

related to 0007790 closedSebastian Allmendinger Base Information \ Base Info Core Structure\ 001.js - Script complains about missing TypeNodes 

Activities

Alexander Allmendinger

2020-10-08 15:17

developer   ~0013037

Validate that the script follows these rules:

  • If the type is not used in the server and is also not defined in the TypeSystem it should be ignored and no warning should be printed. Maybe log it with addLog.
  • If the type is not used in the server but is defined in the TypeSystem, it needs to be valid according to the specification including all mandatory and optional references. If not it is an error
  • If the type is used in the server and the server is a Standard 2017 UA Server the type must be available and correct in the TypeSystem. If not it is an Error.
  • If the type is used in the server and the server is a Micro Embedded 2017 Device Server and the type is a well-known type, it can be omitted in the TypeSystem. Print NotSupported describing that this might result in IOP problems with some clients.

Sebastian Allmendinger

2022-10-14 13:35

developer   ~0018047

This issue has been resolved by the rework of the Base Information Conformance Group.
The CTT now checks the ServerProfileArray before performing the suggested validations.

Paul Hunkar

2022-10-14 16:08

administrator   ~0018055

Reviewed updates in call, agreed to updates and closed issue

Issue History

Date Modified Username Field Change
2020-09-16 12:26 Hock, Christian New Issue
2020-09-16 12:26 Hock, Christian Status new => assigned
2020-09-16 12:26 Hock, Christian Assigned To => Alexander Allmendinger
2020-09-16 12:59 Paul Hunkar Assigned To Alexander Allmendinger =>
2020-09-16 12:59 Paul Hunkar Status assigned => new
2020-10-08 15:17 Alexander Allmendinger Assigned To => Alexander Allmendinger
2020-10-08 15:17 Alexander Allmendinger Status new => assigned
2020-10-08 15:17 Alexander Allmendinger Note Added: 0013037
2021-10-15 02:28 Paul Hunkar Priority immediate => urgent
2022-03-01 17:12 Hock, Christian Relationship added related to 0007790
2022-04-19 09:50 Alexander Allmendinger Assigned To Alexander Allmendinger => Sebastian Allmendinger
2022-08-02 20:22 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Scripts
2022-10-14 13:31 Sebastian Allmendinger Files Affected => /library/Base/settings.js
/library/Information/_Base/NodeContainsSubStructure.js
/library/Information/InfoFactory.js
/maintree/Base Information/Base Info Core Structure/Test Cases/001.js
/maintree/Base Information/Base Info Core Structure/Test Case...
2022-10-14 13:35 Sebastian Allmendinger Status assigned => resolved
2022-10-14 13:35 Sebastian Allmendinger Resolution open => fixed
2022-10-14 13:35 Sebastian Allmendinger Note Added: 0018047
2022-10-14 16:08 Paul Hunkar Status resolved => closed
2022-10-14 16:08 Paul Hunkar Fixed in Version => 1.03.501
2022-10-14 16:08 Paul Hunkar Note Added: 0018055