View Issue Details

IDProjectCategoryView StatusLast Update
0007730CTT UA Scripts1 - Script Issuepublic2022-10-19 10:44
ReporterThomas Merk Assigned ToArchie Miller  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.03.501 
Summary0007730: A and C Comment / Err_002 fails
Description

Reported error:
Error: ... AddMessage call expected BadEventIdUnknown, actual BadTypeMismatch (0x80740000)

Is it really specified that a wrong data type shall be reported as "EventIdUnknown"?
Typically first the data type is validation (ByteString) and then it is validated whether this ByteString is a valid event ID.

TagsNo tags attached.
Files Affected

/maintree/Alarms and Conditions/A and C Comment/Test Cases/Err_002.js

Activities

Archie Miller

2022-02-17 20:42

administrator   ~0016045

1.04 spec provides an error case of Bad_EventIdUnknown. Test case looks specifically for that condition.

Paul Hunkar

2022-04-07 16:05

administrator   ~0016541

Can you provide more information about what you are seeing? is it that the ByteString is expecting a format (a GUID) or something else that does not translate?

Thomas Merk

2022-04-25 15:12

reporter   ~0016620

The provided eventId has a NULL data type.
From this point of view any method call first validates the input arguments - and fails already here.
See attached wireshark capture

CTT-AandC-Comment-Err_002.png (21,058 bytes)   
CTT-AandC-Comment-Err_002.png (21,058 bytes)   

Archie Miller

2022-04-28 19:44

administrator   ~0016650

Resolved in Pull Request Mantis 7730.

Generated ByteString requires a UaVariant for the method call.

Paul Hunkar

2022-10-13 15:53

administrator   ~0018029

Reviewed changes in call, agreed to changes and closed issue

Issue History

Date Modified Username Field Change
2022-02-14 13:38 Thomas Merk New Issue
2022-02-17 16:50 Paul Hunkar Assigned To => Archie Miller
2022-02-17 16:50 Paul Hunkar Status new => assigned
2022-02-17 20:42 Archie Miller Note Added: 0016045
2022-04-07 16:05 Paul Hunkar Assigned To Archie Miller =>
2022-04-07 16:05 Paul Hunkar Status assigned => feedback
2022-04-07 16:05 Paul Hunkar Note Added: 0016541
2022-04-25 15:12 Thomas Merk Note Added: 0016620
2022-04-25 15:12 Thomas Merk File Added: CTT-AandC-Comment-Err_002.png
2022-04-25 15:12 Thomas Merk Status feedback => new
2022-04-28 15:55 Paul Hunkar Assigned To => Archie Miller
2022-04-28 15:55 Paul Hunkar Status new => assigned
2022-04-28 19:44 Archie Miller Status assigned => resolved
2022-04-28 19:44 Archie Miller Resolution open => fixed
2022-04-28 19:44 Archie Miller Note Added: 0016650
2022-08-02 20:03 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Scripts
2022-08-02 20:23 Paul Hunkar Project CTT UA Scripts => .NET API
2022-08-02 20:23 Paul Hunkar Category 1 - Script Issue => Api Change
2022-08-04 14:24 Paul Hunkar Project .NET API => Compliance Test Tool (CTT) Unified Architecture
2022-10-13 15:52 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Scripts
2022-10-13 15:52 Paul Hunkar Category Api Change => 1 - Script Issue
2022-10-13 15:52 Paul Hunkar Files Affected => /maintree/Alarms and Conditions/A and C Comment/Test Cases/Err_002.js
2022-10-13 15:53 Paul Hunkar Status resolved => closed
2022-10-13 15:53 Paul Hunkar Fixed in Version => 1.04.501
2022-10-13 15:53 Paul Hunkar Note Added: 0018029
2022-10-19 10:44 Paul Hunkar Fixed in Version 1.04.501 => 1.03.501