View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005665 | Compliance Test Tool (CTT) Unified Architecture | 1 - Script Issue | public | 2020-05-26 12:04 | 2020-06-03 17:33 |
| Reporter | Alin Moldovean | Assigned To | Paul Hunkar | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 1.04.09.395 | ||||
| Summary | 0005665: Inconsistent error codes for DataEncoding validation | ||||
| Description | Inconsistent error codes for DataEncoding validation Test "Attribute Read\Err-017.js" expects error code BadDataEncodingInvalid for DataEncoding with Name = "Xml" and NamespaceIndex = 0 While test "Attribute Alternate Encoding\Err.004.js" expects error code BadDataEncodingUnsupported for DataEncoding with Name = "modbus" and NamespaceIndex = 0 The only difference is that one tests performs a Read request and the other a CreateMonitoredItems. Normally a server has the same validation method of a ReadValueId for both Read and CreateMonitoredItems calls, so one of these tests will fail. | ||||
| Steps To Reproduce | Run tests "Attribute Read\Err-017.js" and "Attribute Alternate Encoding\Err.004.js" | ||||
| Tags | No tags attached. | ||||
| Files Affected | |||||
|
|
The read test, is specific test that is trying to request an alternate encoding for something that is not allowed to have an alternate encoding (only value attribute with a datatype of structure are allowed to have an alternate encoding) - this test is requesting an alternate encoding for a boolean - which is an invalid request, not an invalid encoding. The expected errors is correct |
|
|
We feel this test is correct - do you have alternate encoding available for structured variables? (is it XML)? |
|
|
Ok, so BadDataEncodingUnsupported error should be returned for Value attribute of nodes with structured data types in case the encoding is not supported by the server. Thank you! |
|
|
reviewed in CMP Call |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-05-26 12:04 | Alin Moldovean | New Issue | |
| 2020-05-27 17:21 | Paul Hunkar | Note Added: 0012130 | |
| 2020-05-27 17:23 | Paul Hunkar | Assigned To | => Paul Hunkar |
| 2020-05-27 17:23 | Paul Hunkar | Status | new => feedback |
| 2020-05-27 17:23 | Paul Hunkar | Note Added: 0012131 | |
| 2020-05-28 11:37 | Alin Moldovean | Note Added: 0012133 | |
| 2020-05-28 11:37 | Alin Moldovean | Status | feedback => assigned |
| 2020-05-28 11:37 | Alin Moldovean | Status | assigned => resolved |
| 2020-05-28 11:37 | Alin Moldovean | Resolution | open => fixed |
| 2020-06-03 17:33 | Paul Hunkar | Resolution | fixed => no change required |
| 2020-06-03 17:33 | Paul Hunkar | Status | resolved => closed |
| 2020-06-03 17:33 | Paul Hunkar | Note Added: 0012175 |