Have you tried to loop over the UserSong objects and put() them again. It will update the indexes. You can try it with one object you know that fails to see if it solves the problem. Sometimes an index is not updated correctly when you put() an object, this was a problem in the early months of GAE.
2010/6/14 Gergely Orosz <[email protected]>: > Hello! > > I am reporting a bug related to either indexes or ReferenceProperties. > > I have an application with a Song entity type and a UserSong entity > type that has a userId string field and a song ReferenceProperty field > that links to Songs. I have an combined index for song and userId > fields within UserSongs entity that is serving without reported > errors. > > The problem is that when I query UserSongs with "SELECT * FROM > UserSong WHERE userId=XXX AND song=key(XXX)" sometimes I get an empty > result when the entity should be found; e.g. it appears both in the > "SELECT * FROM UserSong WHERE userId=XXX" list and in the "SELECT * > FROM UserSong WHERE song=key(XXX)" query as well. I would therefore > expect it to appear in the combined "SELECT * FROM UserSong WHERE > userId=XXX AND song=key(XXX)" query as well as I have the necessary > indexes serving. This behaviour seems absolutely random; it happens > really rarely, but should actually never happen. > > I am able to reproduce the issue with specific values. My question > where can I send this bug on to as this is a major issue for my > application (e.g. my users are unable to fetch some of their existing > entites). > > As this is a critical issue for my application, it would appreciate to > get some official help. > > Thank you. > > Gergely > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
