View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006326 | Compliance Test Tool (CTT) Unified Architecture | 1 - Script Issue | public | 2020-12-28 10:22 | 2021-03-26 14:26 |
Reporter | Jochen Baier | Assigned To | Sebastian Allmendinger | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.04.09.396 | ||||
Fixed in Version | 1.03.341.398 | ||||
Summary | 0006326: MonitoredItem.setValue(BuiltInType.Byte, isArray=true): creates a scalar of type ByteString and not an array of typ Byte | ||||
Description | The function setValue() in MonitoredItem (\library\Base\Objects\monitoredItem.js) with Parameter dataType= BuiltInType.Byte and isArray=true | ||||
Steps To Reproduce | var monitored_item = MonitoredItem.fromNodeIds(UaNodeId.fromString('ns=2;s=Demo.Static.Arrays.Byte'))[0]; var byte_array = new UaBytes(); monitored_item.SafelySetArrayTypeKnown(byte_array, BuiltInType.Byte); actual: as_string="Value: size=4, data=0x34323433, StatusCode: Good (0x00000000), ..." | ||||
Additional Information | Proposed fix: in MonitoredItem, function setValue() , in switch (dataType) (array): current: case BuiltInType.Byte: proposed: case BuiltInType.Byte: | ||||
Tags | No tags attached. | ||||
Files Affected | |||||
|
In OPC UA (On the wire) byte arrays and byte string are the same - so not sure if any change is actually needed. Need to also review how the change would affect all of the existing test if it were made. |
|
The function is not used for a ByteArray in any of the released test scripts. |
|
Reviewed in CMP call - Agreed to changes and closed |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-12-28 10:22 | Jochen Baier | New Issue | |
2021-01-08 15:17 | Paul Hunkar | Assigned To | => Alexander Allmendinger |
2021-01-08 15:17 | Paul Hunkar | Status | new => assigned |
2021-01-08 15:19 | Paul Hunkar | Note Added: 0013505 | |
2021-02-24 13:52 | Sebastian Allmendinger | Assigned To | Alexander Allmendinger => Sebastian Allmendinger |
2021-02-24 13:52 | Sebastian Allmendinger | Status | assigned => resolved |
2021-02-24 13:52 | Sebastian Allmendinger | Resolution | open => fixed |
2021-02-24 13:52 | Sebastian Allmendinger | Fixed in Version | => 1.03.341.398 |
2021-02-24 13:52 | Sebastian Allmendinger | Note Added: 0013803 | |
2021-03-26 14:26 | Paul Hunkar | Status | resolved => closed |
2021-03-26 14:26 | Paul Hunkar | Note Added: 0014084 |