Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Components
Assignee
Richard ChapmanRichard ChapmanReporter
Kevin LogemannKevin LogemannPriority
Not specifiedFix versions
Pull Request URL
Details
Details
Components
Assignee
Richard Chapman
Richard ChapmanReporter
Kevin Logemann
Kevin LogemannPriority
Fix versions
Pull Request URL
Created March 22, 2019 at 12:50 AM
Updated July 16, 2020 at 2:44 PM
Resolved March 22, 2019 at 3:48 PM
Any UNISIGNED8 value that is in excess of the maximum positive INTEGER8 value is deserialized as the maximum INTEGER8 value (9223372036854775807).
This was first witnessed by when making a SOAPCALL to a Boca Roxie service that returned UNSIGNED8 values.
produced this simple ECL to illustrate the more generic issue:
OutRecord :=
RECORD
UNSIGNED8 id;
string val{xpath('id')};
END;
rec := FROMXML(OutRecord,'<Row><id>18196239629641154791</id></Row>');
OUTPUT(rec, NAMED('FromXML'), NOXPATH);
OUTPUT(PROJECT(DATASET(rec), TRANSFORM(OutRecord,SELF.id := (UNSIGNED8)LEFT.val; SELF := LEFT)), NAMED('proj'), NOXPATH);