View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0007929 | CTT UA Scripts | 1 - Script Issue | public | 2022-04-11 10:37 | 2022-09-29 15:58 |
| Reporter | Florin Neamtu | Assigned To | Yannik Klaass | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Windows | OS | Windows | OS Version | 10 |
| Fixed in Version | 1.03.501 | ||||
| Summary | 0007929: CTT issue - attribute write index 006.js reports Write.Response[1].StatusCode = BadTypeMismatch | ||||
| Description | Run a server that has imported ReferenceServer.NodeSet2.xml from OPCFoundation\UA-.NETStandard. Run the compliance tool selecting script option Attribute Services\Attribute Write Index\006.js All ctt nodes provided in ctt settings array nodes are passing except CTT_Scalar_Static_Arrays_Byte which rise script exception Write().Response.Results[1].StatusCode = 'BadTypeMismatch (0x80740000)'; but StatusCode 'BadIndexRangeNoData (0x80370000)' was expected (Node Setting: '/Server Test/NodeIds/Static/All Profiles/Arrays/Byte') StatusCode expectations for this call were... The OPCFoundation\UA-.NETStandard server actually converts the byte[] to ByteString based on documentation aka. https://reference.opcfoundation.org/v104/Core/docs/Part6/5.1.4/ Actually the issue happens on initialize.js line 25 if( ReadHelper.Execute( { NodesToRead: items } ) ) { | ||||
| Steps To Reproduce |
| ||||
| Additional Information | none | ||||
| Tags | No tags attached. | ||||
| Files Affected | maintree/Attribute Services/Attribute Write Index/Test Cases/006.js | ||||
|
|
verify that reading the byte array is handled correctly if a bytestring is sent as the response. |
|
|
The code was passing the DataType of the received value to generateArrayWriteValue(), which caused ByteArrays converted to a ByteString to be handled as a ByteString by this function. |
|
|
reviewed issue, agreed to changes and closed issue |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2022-04-11 10:37 | Florin Neamtu | New Issue | |
| 2022-04-11 15:14 | Paul Hunkar | Note Added: 0016568 | |
| 2022-04-11 15:15 | Paul Hunkar | Assigned To | => Alexander Allmendinger |
| 2022-04-11 15:15 | Paul Hunkar | Status | new => assigned |
| 2022-04-11 15:15 | Alexander Allmendinger | Assigned To | Alexander Allmendinger => Yannik Klaass |
| 2022-04-20 08:17 | Yannik Klaass | Status | assigned => resolved |
| 2022-04-20 08:17 | Yannik Klaass | Resolution | open => fixed |
| 2022-04-20 08:17 | Yannik Klaass | Note Added: 0016596 | |
| 2022-08-02 20:23 | 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-09-29 15:56 | Paul Hunkar | Project | Compliance Test Tool (CTT) Unified Architecture => CTT UA Package |
| 2022-09-29 15:56 | Paul Hunkar | Project | CTT UA Package => CTT UA Scripts |
| 2022-09-29 15:57 | Paul Hunkar | Category | Api Change => 1 - Script Issue |
| 2022-09-29 15:57 | Paul Hunkar | Files Affected | => maintree/Attribute Services/Attribute Write Index/Test Cases/006.js |
| 2022-09-29 15:58 | Paul Hunkar | Status | resolved => closed |
| 2022-09-29 15:58 | Paul Hunkar | Fixed in Version | => 1.03.501 |
| 2022-09-29 15:58 | Paul Hunkar | Note Added: 0017899 |