On 2012/05/25 21:43:28, sjostrand.jonas wrote:
When a proxy is edit()ed not only sub ENTITY proxies but also sub
VALUE proxies
are automatically edit()ed and considered as changed by the auto bean
diff. Can
this be fixed by the same technique? I tried the patch and it didn't
solve the
problem already.

This is the TODO at
http://gwt-code-reviews.appspot.com/1601806/diff/45014/user/src/com/google/web/bindery/requestfactory/shared/impl/AbstractRequestContext.java#newcode1214

The idea is that the ValueProxy wouldn't be sent to the server despite
being edit()ed, because it wouldn't be "referenced" by the entity proxy
(in the sense that the diff for the entity proxy wouldn't include the
value proxy, as the value proxy "before" and "after" would compare
equal).
The only other solution would be to remove the auto-edit feature, or
change how it's done.

http://gwt-code-reviews.appspot.com/1601806/

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

Reply via email to