Stepmas, please keep us informed with your tests on that particular point,
as we are currently changing our data model to match Brett's recommandation
about list properties in child object.

On 09/09/10 11:58, "Frederik Pfisterer" <[email protected]> wrote:

> I experienced this with lists of complex objects in owned
> relationships, not with lists of strings, see
> http://code.google.com/p/datanucleus-appengine/issues/detail?id=218 .
> Lists of strings should not be a problem since they're stored in the
> same "table", basically the listproperties Bret mentions in his talk.
> Are you using GWT?
> 
> Fred
> 
> On 8 Sep., 11:50, androidDeveloper <[email protected]> wrote:
>> Hi all,
>> 
>> I read the post
>> 
>> http://groups.google.com/group/google-appengine-java/browse_thread/th...
>> 
>> which describes a problem with the local datastore and empty lists.
>> 
>> This problem seems to be fixed. But maybe I have found another one.
>> 
>> I have a list "List<String> favoritesUserId" in a index class to which
>> I can add or remove keys (encoded Strings). So there is the
>> possibility, that the list gets empty, after all items are removed.
>> The class is a child of another class. The structure is kind of the
>> index-class pattern introduced by Bret Slatkin (Building Scalable,
>> complex Apps on App engine)
>> 
>> So here is the problem. When I try to save an item in the list, it
>> works fine. Removing items works fine too, as long the list after
>> removing the item is not empty. When I remove the last item and save
>> the object, the last item stays in the list. I have not tried it in
>> production yet, cause I am not ready for testing prod. Maybe this is a
>> local problem with the SDK?
>> 
>> Does anyone know what the solution to this problem is?
>> 
>> Thanks!


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-java?hl=en.

Reply via email to