After tracing this, it's throwing an exception on this new generic find() stuff from the abstract editor so it has nothing to do with stableId. StableId is returning a value correctly.
About the comment, I was just confused because of the word "persisted" which to me means JPA or something. We have the UI almost done and the server part is currently just a mock that news up objects currently so this comment and the fact that we don't have persistence of anything is what led me to believe this was the problem. On Mon, Sep 20, 2010 at 2:16 PM, Amit Manjhi <[email protected]> wrote: > The javadoc wording can probably be improved. Comments welcome. > Essentially, what the javadoc wants to capture is specified in the test: > com.google.gwt.requestfactory.client.RequestFactoryTest::testStableId() > Btw, stableId() call on an EntityProxy should never return null. Can you > post a reproducible test case? > > On Mon, Sep 20, 2010 at 10:57 AM, Patrick Julien <[email protected]> wrote: >> >> On Mon, Sep 20, 2010 at 1:48 PM, Amit Manjhi <[email protected]> >> wrote: >> > stableId is not a field in the EntityProxy. It is computed when >> > stableId() >> > is called on an EntityProxy. Does that help? >> >> not yet no, I understand what you're saying but I don't understand the >> comments in EntityProxyId that says: >> >> "In particular, an {...@link EntityProxy} foo that is yet to be persisted and >> a >> * copy of foo after being persisted have equal {...@link EntityProxyId}." >> >> Based on what you're saying, persistence shouldn't matter here at all. >> >> The other thing that I have to figure out is why is stableId returning >> null if it's computed when called >> >> -- >> http://groups.google.com/group/Google-Web-Toolkit-Contributors > > -- > http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
