Hi there,
The issue DYNPROXY-ISSUE-127 was just created by Andrei Agapie (andreiagapie).
Key: DYNPROXY-ISSUE-127
Summary: Serialization/Deserialization inconsistence
Type: Bug
Importance: High
Description:
Both Serialization and Deserialization of a proxy instance uses the
FormatterServices.GetSerializableMembers method to get the list of the members
to serialize/deserialize. This method calls Type.GetFields method internally
and the order of the members is not guaranteed to be the same for every call.
As a result the members serialized inside the __data array (see
ClassProxyInstanceContributor.CustomizeGetObjectData) risk to be deserialized
in a different order by the ProxyObjectReference.DeserializeProxyMembers.
One possible solution is to order the members returned by
FormatterServices.GetSerializableMembers method alphabetical (or using another
criterion) before serializing or deserializing the data.
For more, see
http://support.castleproject.org/projects/DYNPROXY/issues/view/DYNPROXY-ISSUE-127
--
donjon
by Castle Stronghold
http://www.castle-donjon.com
--
You received this message because you are subscribed to the Google Groups
"Castle Project Development List" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/castle-project-devel?hl=en.