Friday, December 30, 2011

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

That appears to be the problem. Hopefully they put in a fix for it
since I could reproduce it 100% of the time and it's not an easy bug
to track down where it's happening. Thank you for the fix though.

On Dec 29, 6:13 pm, "Aidan O'Kelly" <aida...@gmail.com> wrote:
> 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:http://pastebin.com/f7aKkMS1-

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment