View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007990 | CTT UA Scripts | 1 - Script Issue | public | 2022-05-12 21:02 | 2023-10-19 14:23 |
Reporter | Elliot Gawthrop | Assigned To | Archie Miller | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Summary | 0007990: A&C / A&C Basic / Test_005.js does not allow NULL for BranchId, Comment, ClientUserId | ||||
Description | A&C / A&C Basic / Test_005.js raises an error that that BranchId, Comment and ClientUserId values are not valid due to being NULL. The specification allows these values to be NULL. BranchId: 10000-9 1.04 B.1.2 shows that servers are allowed to not support previous states, and keep BranchId at NULL all the time | ||||
Tags | No tags attached. | ||||
Files Affected | |||||
duplicate of | 0008315 | closed | Archie Miller | Compliance Test Tool (CTT) Unified Architecture | CTT tool makes a distinction between 'null' and 'empty' OPC UA Variants |
|
NULL can have several definitions: Is this what you were providing? |
|
Yes I believe I am. See attached pictures from UaExpert showing that each field has the correct data type. |
|
I see OPC 10000-3 8.2.3 has a special definition for what a Null NodeId is. Setting BranchId to ns=0,i=0 silences the complaint about the BranchId value. I cannot see anything in the specification that gives a special definition for LocalizedText or string. |
|
On second thoughts, does 10000-3 8.2.3 really preclude a server from returning a null variant NodeId? It reads to me that if you specify a numeric 0, null or empty string, a zero guid, or a bytestring with length 0 as the NodeId value, then you must set NamespaceIndex to 0. But that doesn't imply that a variant cannot contain null for a NodeId data type. NodeId is a sub-type of BaseDataType. 10000-3 8.7 states that BaseDataType "defines a special value null indicating that a value is not present". |
|
See also version 1.05 that strongly supports my argument that a variant null should be allowed: "A canonical null NodeId has an IdType equal to Numeric, a NamespaceIndex equal to 0 and an Identifier equal to 0. In addition to the canonical null NodeId the alternative values defined in Table 23 shall be considered a null NodeId." This test is giving an error if the "alternative value" is not provided. |
|
Resolved with Mantis Issue 8315 |
|
Agreed the issue is a duplicated - closed issue |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-05-12 21:02 | Elliot Gawthrop | New Issue | |
2022-05-13 14:29 | Paul Hunkar | Description Updated | |
2022-05-13 14:34 | Paul Hunkar | Assigned To | => Paul Hunkar |
2022-05-13 14:34 | Paul Hunkar | Status | new => feedback |
2022-05-13 14:34 | Paul Hunkar | Note Added: 0016713 | |
2022-05-16 19:18 | Elliot Gawthrop | Note Added: 0016715 | |
2022-05-16 19:18 | Elliot Gawthrop | File Added: BranchIdClientUserIdComment.png | |
2022-05-16 19:18 | Elliot Gawthrop | File Added: Test_005.png | |
2022-05-16 19:18 | Elliot Gawthrop | Status | feedback => assigned |
2022-05-17 09:40 | Elliot Gawthrop | Note Added: 0016716 | |
2022-05-17 10:14 | Elliot Gawthrop | Note Added: 0016717 | |
2022-05-17 10:26 | Elliot Gawthrop | Note Added: 0016718 | |
2022-08-02 20:22 | Paul Hunkar | Project | Compliance Test Tool (CTT) Unified Architecture => CTT UA Scripts |
2023-10-05 14:33 | Paul Hunkar | Assigned To | Paul Hunkar => Archie Miller |
2023-10-09 14:48 | Archie Miller | Relationship added | related to 0008315 |
2023-10-09 14:48 | Archie Miller | Status | assigned => resolved |
2023-10-09 14:48 | Archie Miller | Resolution | open => duplicate |
2023-10-09 14:48 | Archie Miller | Note Added: 0020104 | |
2023-10-19 14:23 | Paul Hunkar | Status | resolved => closed |
2023-10-19 14:23 | Paul Hunkar | Note Added: 0020218 | |
2023-10-19 14:23 | Paul Hunkar | Relationship replaced | duplicate of 0008315 |