I did some debugging, looking into the GWT source, and it seems like
there's a problem with decoding the elements of the set. The JSON sent
over the wire looks fine, but when the data structure is being
constructed on the server side, all of the properties are null at the
time that hashCode() is ca
I switched my Set<>s to List<>s and it works no problem.
What is interesting is that I use Set all over the place
without any trouble, but when I use the Set it seems to fail.
If I had to speculate, i'd guess that the RF is trying to recreate the
collection using a hashcode based on the id of the
This sounds like a problem that I ran into this as well, and even had
a chance to sit down with David Chandler at Google I/O to look over
it. Your case is more straightforward than mine (which involved trying
to add to a Set on fetched ValueProxy) but I'd bet it's the same
problem. I'm planning to
It looks like I'm running into the problem inside EntityCodex.decode() :
In the red code below, I see it iterate over all three items in my
collection, but each time the "element" that comes out of the "decode" call
has the same hashCode, so the HashSet ignores it. The hashCode always seems
t
I have an application that creates a Set (a ValueProxy), and
sends that set across the wire using the RequestFactory.
When I add 3 distinct elements into the set and fire the context, I only get
one item in the set on the server side.
What is interesting is that I can see my setters being calle