View Issue Details

IDProjectCategoryView StatusLast Update
0008396CTT UA Scripts1 - Script Issuepublic2022-10-14 16:15
ReporterSebastian Allmendinger Assigned ToSebastian Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.04.500 
Fixed in Version1.03.501 
Summary0008396: UaN, UaNodeId.Validate() tries to access not existing length property
Description

If a GUID-NodeId is passed to this function, the length property does not exist.
Most probably the same issue applies with Opaque-NodeIds (not tested).

TagsNo tags attached.
Files Affected

/library/ClassBased/UaN.js

Activities

Paul Hunkar

2022-10-06 20:36

administrator   ~0017970

Opaque nodeid are a byte string, so i believe they do have a length property, but a GUID is a fixed structure so this should be fixed

Sebastian Allmendinger

2022-10-14 13:09

developer   ~0018043

Instead of validating the length of the Guid, the function now only checks whether the Identifier is defined or not.
The length property of an Opaque Identifier is available in the test scripts. Therefore no change was required for this IdentifierType.

Paul Hunkar

2022-10-14 16:15

administrator   ~0018061

Reviewed updates in call, agreed to updates and closed issue

Issue History

Date Modified Username Field Change
2022-10-06 15:30 Sebastian Allmendinger New Issue
2022-10-06 20:36 Paul Hunkar Note Added: 0017970
2022-10-06 20:36 Paul Hunkar Assigned To => Sebastian Allmendinger
2022-10-06 20:36 Paul Hunkar Status new => assigned
2022-10-14 13:05 Sebastian Allmendinger Files Affected => /library/ClassBased/UaN.js
2022-10-14 13:09 Sebastian Allmendinger Status assigned => resolved
2022-10-14 13:09 Sebastian Allmendinger Resolution open => fixed
2022-10-14 13:09 Sebastian Allmendinger Note Added: 0018043
2022-10-14 16:15 Paul Hunkar Status resolved => closed
2022-10-14 16:15 Paul Hunkar Fixed in Version => 1.03.501
2022-10-14 16:15 Paul Hunkar Note Added: 0018061