View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008987 | CTT UA Scripts | 1 - Script Issue | public | 2023-05-30 08:50 | 2023-10-12 14:59 |
Reporter | Jochen Baier | Assigned To | Sebastian Allmendinger | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.04.501 | ||||
Fixed in Version | 1.03.505 | ||||
Summary | 0008987: UaVariant.SetValueMax() with BuiltInType.ByteString: creates an Bytestring with length = -1 | ||||
Description | The function UaVariant.SetValueMax() (Standard\library\ClassBased\UaV.js) create an empty Bytestring with length = -1 for type BuiltInType.ByteString: ... One option would be to set all byte values to 0xFF, or BuiltInType.ByteString should be sipped like BuiltInType.String. UaVariant.SetValueMax() is used by "Attribute Services - Attribute Write Values - 006.js": "Write the MAXIMUM value for each supported data-type": | ||||
Tags | No tags attached. | ||||
Files Affected | /library/ClassBased/UaV.js | ||||
related to | 0007473 | closed | Alexander Allmendinger | "Attribute Services - Attribute Write Values - 006" should accept several status codes when null value is not supported |
|
same problem in UaVariant.SetValueMin() |
|
UaVariant.SetValueMax() has been updated, so that it skips the generation of a max value for ByteStrings, just like it already does for similar DataTypes like String, LocalizedText, QualifiedName, ... |
|
Reviewed change, agreed to change, reviewed min - agreed no changes is required (null for min is appropriate) - closed issue |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-05-30 08:50 | Jochen Baier | New Issue | |
2023-05-30 11:57 | Jochen Baier | Note Added: 0019438 | |
2023-07-21 14:33 | Paul Hunkar | Summary | UaVariant.SetValueMax() with BuiltInType.ByteString: creates an Bytestring with length -1 => UaVariant.SetValueMax() with BuiltInType.ByteString: creates an Bytestring with length = -1 |
2023-07-21 14:33 | Paul Hunkar | Description Updated | |
2023-07-21 14:34 | Paul Hunkar | Assigned To | => Sebastian Allmendinger |
2023-07-21 14:34 | Paul Hunkar | Status | new => assigned |
2023-10-12 08:39 | Sebastian Allmendinger | Files Affected | => /library/ClassBased/UaV.js |
2023-10-12 08:47 | Sebastian Allmendinger | Status | assigned => resolved |
2023-10-12 08:47 | Sebastian Allmendinger | Resolution | open => fixed |
2023-10-12 08:47 | Sebastian Allmendinger | Note Added: 0020139 | |
2023-10-12 11:42 | Sebastian Allmendinger | Relationship added | related to 0007473 |
2023-10-12 14:59 | Paul Hunkar | Status | resolved => closed |
2023-10-12 14:59 | Paul Hunkar | Fixed in Version | => 1.03.505 |
2023-10-12 14:59 | Paul Hunkar | Note Added: 0020152 |