Hi Ryan, >From your description, I would guess the issue is the same as the underlying cause of: http://code.google.com/p/googleappengine/issues/detail?id=901
We are actively working on a fix for this issue, but in the meantime, this should be resolved if you call put() on the entity that is not showing up for the query. -Marzia On Thu, Jan 15, 2009 at 12:13 AM, Ryan W <rwilli...@gmail.com> wrote: > > One more thing. The entity was being returned in the query by > status_id earlier today, as I see activity registered, that is only > registered when the entity is found. Then it just stopped being > returned. Baffling. > > On Jan 15, 12:06 am, Ryan W <rwilli...@gmail.com> wrote: >> I've been running into numerous issues with the datastore today, >> wondering if others have as well: >> >> - GAE Admin DataViewer frequently encountering "server error" >> - occasionally queries fail to return entities that do actually exist >> >> I have a model, Post, with a property "status_id" and a reference >> property, "user", to a User model. When I query for a specific >> entity by status_id, the datastore cannot find it. But, if I pull up >> the posts by user, User.posts, it is there. Also if I pull up the >> entity by its string encoded key value, the datastore returns it. >> >> This returns nothing in this case: >> q = db.Query(Post) >> q.filter('status_id = ', status_id) >> post = q.get() >> >> This contains the post: >> user.posts contains the post plain as day >> >> This also returns the post, key is obtained from looping through >> user.posts: >> post = Post.get(db.Key(key)) >> >> It's quite maddening. In 99% of the cases the query by status_id is >> working fine, but for this one post, the datastore is failing. Seen >> anything like it? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---