TROXMLStreamer.DeserializeObject change the order in which properties are deserialized

delphi

(Christen Blom Dahl) #1

This may cause problems with objects that rely in this order for the correct deserialization of their state.
The solution is to add an additional parameter to the GetPropList function:

cnt := GetPropList(PTypeInfo(anObject.ClassInfo), tkProperties, props, False);


(RemObjects) #2

Thanks, logged as bugs://81266


(RemObjects) #3

bugs://81266 got closed with status fixed.