CDV ❯ clone() on managed object fails to resolve all managed fields
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
DSO:L1
-
-
teck
-
Reporter: teck
-
February 20, 2007
-
0
-
Watchers: 0
-
July 27, 2012
-
February 20, 2007
Description
DSO inserts instrumentation before calls to Object.clone() to resolve all fields such that the VMs built in shallow copy will not see fields that are null simply becuase they are unresolved (in the DSO sense).
TCObjectPhysical.resolveAllRefrerences fails to walk the class hierarchy to resolve the fields present in any super classes
The symptom of this is that fields in the cloned object will be null if the application had never read (ie. resolved) the fields of the instance to be cloned. This only affects non-literal fields (since literal fields are never unresolved)
Thanks a lot for the fix, I confirm that it works for me.