View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009281 | CTT UA Scripts | 1 - Script Issue | public | 2023-11-27 15:00 | 2023-11-28 14:31 |
Reporter | Yannik Klaass | Assigned To | Yannik Klaass | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.03.505 | ||||
Fixed in Version | 1.03.506 | ||||
Summary | 0009281: UaStructureDefinition.FromTypeNodeId() giving unexpected error if reading a DataTypeDefinition fails, while AllowSubTypes is set | ||||
Description | When learning a structure type and the corresponding structures of its fields using UaStructureDefinition.FromTypeNodeId(), an unexpected error occurs when reading the structure fails on a field which has AllowSubTypes set to true in the corresponding place in the 'overrideTypeTree' argument. The function should return false when reading of a structure fails at any point, instead of processing an empty returned value. Furthermore, the log information about which field structure is being processed next, should be printed to make it easier to localize the issue if an error occurs. | ||||
Tags | No tags attached. | ||||
Files Affected | /library/ClassBased/UaS.js | ||||
|
Adding code to skip further progression of the UaStructureDefinition.FromTypeNodeId() function when a returned structure fields fieldStructureDefinition === false and returning false in this case. Furthermore adding more precise log information about which field structure is being processed. |
|
Review in call, agreed to changes and closed issue |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-11-27 15:00 | Yannik Klaass | New Issue | |
2023-11-27 15:00 | Yannik Klaass | Status | new => assigned |
2023-11-27 15:00 | Yannik Klaass | Assigned To | => Yannik Klaass |
2023-11-27 15:15 | Yannik Klaass | Files Affected |
=> /library/ClassBased/UaS.js
|
2023-11-28 08:04 | Yannik Klaass | Status | assigned => resolved |
2023-11-28 08:04 | Yannik Klaass | Resolution | open => fixed |
2023-11-28 08:04 | Yannik Klaass | Note Added: 0020410 | |
2023-11-28 10:54 | Paul Hunkar | Status | resolved => closed |
2023-11-28 10:54 | Paul Hunkar | Fixed in Version | => 1.03.505 |
2023-11-28 10:54 | Paul Hunkar | Note Added: 0020417 | |
2023-11-28 14:31 | Paul Hunkar | Fixed in Version | 1.03.505 => 1.03.506 |