Re: Request factory: key xxx is not permitted to be set

2010-12-14 Thread Simon Majou
It works fine with 2.1.1-rc1. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegro

Re: Request factory: key xxx is not permitted to be set

2010-12-14 Thread Simon Majou
Thanks for the advice, I am going to try that one. On Tue, Dec 14, 2010 at 11:03, Thomas Broyer wrote: > Have you tried 2.1.1-rc1? The server-side part is a complete rewrite. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To pos

Re: Request factory: key xxx is not permitted to be set

2010-12-14 Thread Thomas Broyer
Have you tried 2.1.1-rc1? The server-side part is a complete rewrite. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: Request factory: key xxx is not permitted to be set

2010-12-13 Thread Simon Majou
Ok in fact Request factory checks the fields of the entity and not the accessors (into the validateKeys method of the class JsonRequestProcessor). It is quite unexpected as we expose accessors into the proxy and not fields. So it seems impossible to use Request factory with relationships using K

Request factory: key xxx is not permitted to be set

2010-12-12 Thread Simon Majou
I want to create an object with a relationship with request factory. I don't have the actual related object, just its id. So I added into the object a getter and setter to convert the id into a Key : Key ownerKey; public Key getOwnerKey() { return ownerKey; } public void setOwnerKey(Key owne