View Issue Details

IDProjectCategoryView StatusLast Update
0007679CTT UA Scripts1 - Script Issuepublic2022-09-29 18:00
ReporterMatti Siponen Assigned ToYannik Klaass  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.03.501 
Summary0007679: Data Access, Data Access DataItems, 004.js, problems with DateTime
Description

The CTT attempts to write <9999-12-31T11:59:59.999Z> (2578409717962062064) to a Server. But when the CTT reads the value written and the Server responds with <30828-09-14T02:48:05.477Z> (9223372036854775807, Int64 max value) the CTT considers this to be an error. This is incorrect since DateTime value <9999-12-31T11:59:59.999Z> and later should be encoded as the maximum value of Int64, which the Server correctly did.

Steps To Reproduce

Run Data Access, Data Access DataItems, 004.js with a DateTimeDataItem configured against a Server that returns the max value of Int64 for DateTime <9999-12-31T11:59:59.999Z> and later and the CTT will consider the value returned by the Server to be incorrect.

Additional Information

Tested with Prosys OPC UA SDK for Java SampleConsoleServer.

TagsNo tags attached.
Files Affected

/maintree/Data Access/Data Access DataItems/Test Cases/004.js

Activities

Yannik Klaass

2022-09-06 13:23

developer   ~0017525

Added code to respect the case of correct encoding of a DateTime DataItem as Int64_Max.

Paul Hunkar

2022-09-29 15:53

administrator   ~0017898

reviewed issue in call, agreed to changes and closed issue

Issue History

Date Modified Username Field Change
2022-01-31 06:25 Matti Siponen New Issue
2022-02-25 16:40 Paul Hunkar Assigned To => Alexander Allmendinger
2022-02-25 16:40 Paul Hunkar Status new => assigned
2022-08-02 20:04 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Scripts
2022-09-06 13:23 Yannik Klaass Assigned To Alexander Allmendinger => Yannik Klaass
2022-09-06 13:23 Yannik Klaass Status assigned => resolved
2022-09-06 13:23 Yannik Klaass Resolution open => fixed
2022-09-06 13:23 Yannik Klaass Note Added: 0017525
2022-09-29 15:52 Paul Hunkar Files Affected => /maintree/Data Access/Data Access DataItems/Test Cases/004.js
2022-09-29 15:53 Paul Hunkar Status resolved => closed
2022-09-29 15:53 Paul Hunkar Fixed in Version => 1.04.501
2022-09-29 15:53 Paul Hunkar Note Added: 0017898
2022-09-29 18:00 Paul Hunkar Fixed in Version 1.04.501 => 1.03.501