Hi,
I had Objectify running perfectly on my app.
I am using objectify as a git submodule in my project and inserting sources directly in my project.
I was using the checkout
e794813a and everything worked perfectly.
I've just tested to update to version HEAD (
76dcb339) and then I took an arrow in the knee.
Here is the exact problem :
Query<Post> query = ofy().load().group(WithPoster.class, WithNetwork.class).type(Post.class).ancestor(key).order("-date").limit(limit);
QueryResultIterator<Post> it = query.iterable().iterator();
while (it.hasNext())
posts.add(it.next());
I should point out that Post is a polymorphic kind and that the database currently contains only one child kind : MessagePost.
So here is the problem : when using last version of Objectify, the 8th it.next() returns null.
The eighth entity that should be returned has absolutely nothing different compared to its peers.
Weirder : it only crashes in production. Everything runs smoothly as it should be in dev server.
Of course, I have reversed to checkout e794813a.
So, do you have any clue of what's happening ?
Thanks,
Salomon BRYS