Thursday, December 29, 2011

Re: Serializing and Deserializing EntityProxy with created EntityProxy inside makes root EntityProxy have created EntityProxy's stableId

There's an issue with DefaultProxyStore that it doesn't always return sequential Ids from its nextId() method, which can result in some odd behaviour when serializing lists of ValueProxies, (all proxies point to the same object). 

Not sure if that's the issue here, but its worth giving a try as the fix is very simple, just make a copy of DefaultProxyStore and ensure it always returns a sequential Id, rather than the count of objects it contains. 

Here's my patched version:

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment