On Wednesday, September 26, 2012 3:42:43 PM UTC+2, Yan wrote:
>
> Hi there, 
>
> I have an entity proxy object that is created on the client. After 
> persisting into server, I would expect the returned proxy (from server) has 
> the same stableId() (i.e., the two equals)
>
> But this is not happening. I thought GWT documentation says the two should 
> equal to each other. Am I missing something?  Here is the code. 
>
> MyObjectProxy value = request.create(MyObjectProxy.class)            // 
> value.getId() is NULL, stableId() has some value in it
>
> request.persist(value).fire(Receiver(MyObjectProxy response) {          // 
> response.getId() is not null,   stableId() has some value in it
>      boolean isSame = response.stableId().equals(value.stableId());     // 
> isSame return false     
> } 
>

Looks very much like a bug yes. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/hhR3-IXu-n0J.
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/google-web-toolkit?hl=en.

Reply via email to