Re: RequestFactory cannot set a Ref argument on EntityProxy (Objectify)

2013-10-09 Thread Manu Botija
Problem solved. There are tons of existing tickets about this issue (ex, ex

Re: RequestFactory cannot set a Ref argument on EntityProxy (Objectify)

2013-10-09 Thread Manu Botija
For those using Objectify + RequestFactory, I found where my issue is: - Following David Chandler's recommendations here, I have a base EntityObject from which all my entities inherit. That EntityObject has a loc

Re: RequestFactory cannot set a Ref argument on EntityProxy (Objectify)

2013-10-09 Thread Manu Botija
> > > > It's actually not. Because passing them to a RequestContext (either as > argument to service methods, or as property values of another proxy) will > edit() them, so you have to make sure you won't have two RequestContext > that want to use those proxies concurrently (because a proxy can onl

Re: RequestFactory cannot set a Ref argument on EntityProxy (Objectify)

2013-10-09 Thread Thomas Broyer
On Tuesday, October 8, 2013 11:35:09 PM UTC+2, Manu Botija wrote: > > I am still stuck here. I have seen this nice post > on SO and verified that I > comply to its recommendations. > > - I don't store any RequestContext instance. > - I have two immuta

Re: RequestFactory cannot set a Ref argument on EntityProxy (Objectify)

2013-10-08 Thread Manu Botija
I am still stuck here. I have seen this nice post on SO and verified that I comply to its recommendations. - I don't store any RequestContext instance. - I have two immutable EntityProxy that I retain beyond the duration of their associated context's

Re: RequestFactory cannot set a Ref argument on EntityProxy (Objectify)

2013-10-03 Thread Manu Botija
Thanks, you are right, it was a NPE on one of the setters. I got confused thinking that the RF automatic validation would kick-in before the setters so I was not doing any checks... but I now realize that does not make sense. By the way, I set the breakpoint as suggested. I could see it was a N

Re: RequestFactory cannot set a Ref argument on EntityProxy (Objectify)

2013-10-03 Thread Thomas Broyer
On Thursday, October 3, 2013 9:50:17 PM UTC+2, Manu Botija wrote: > > Hi, > > Please let me know if this is not the place for this kind of questions... > > I am using *Objectify* with *RequestFactory*. I have an objectify > *Entity*called > *Entry* with an attribute of type Ref**. Following > *

RequestFactory cannot set a Ref argument on EntityProxy (Objectify)

2013-10-03 Thread Manu Botija
Hi, Please let me know if this is not the place for this kind of questions... I am using *Objectify* with *RequestFactory*. I have an objectify *Entity*called *Entry* with an attribute of type Ref**. Following *Objectify*recommendations, I declare the getter and setter for that kind of argume