Thomas Broyer has posted comments on this change.

Change subject: Proxy IDs have to be the same for a given proxy in the response payload.
......................................................................


Patch Set 1:

The issue is actually triggered as soon as an entity created within the request context is referenced by one of the returned proxies. The reason is that the IdMessage used to represent the reference, while conceptually equivalent to the OperationMessage for the persisted proxy, is not *technically* equivalent: the OperationMessage has a clientId which is lacking in the IdMessage, so they deserialize to objects with different hashCodes and looking up the object by ID in the map of returned proxies thus fail, and we end up creating two proxies, including one that's never "finalized" (created, never populated, makeImmutable never called)

--
To view, visit https://gwt-review.googlesource.com/1770
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I6c2ccbcfc67323e9e5cae214b0d101ddfc1a2298
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Thomas Broyer <[email protected]>
Gerrit-Reviewer: Thomas Broyer <[email protected]>
Gerrit-HasComments: No

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to