Hello Brandon, My problem isn't always "autobean is frozen", it changes, but the summary is that I cannot resubmit a proxy after a server error (like an unique constraint violation, for example) that ends up calling Receiver.onFailure(). The error I tend to get is DeadEntityException.
All I want is to be able to resubmit a proxy after a problem in the server. Recreate it is not an option because the user has already modified it, and I want to preserve the modifications. That's probably a common use case, I can't be the only one struggling with it, can I? Answering your questions: On Sunday, April 22, 2012 5:48:39 AM UTC+2, Brandon Donnelson wrote: > > I've has those too. I'm not sure there is enough source to diagnose. Do > you have a list in your bean? > > 1. how do you init your driver? > I init it in the view constructor. > 2. do you have list that is null from server. > I'm creating a new bean, in the current use case. (it's not coming from the server). There may be null/empty lists, yes. > 3. do you have a list that is null when you start then you add to list > then edit it again. always init a list as empty list. > No. > 4. how are you creating your bean? then edit it? > In this case, RequestContext.create, since it's a new entity. But I've stumbled upon this issue in cases where I was loading it from the server. I use the same request context used to create the bean as parameter to the EditorDriver.edit method. > 5. are you using the same context for bean creation for lists that are > children in the bean? > Not editing lists in this case. > > I get more frozen errors with lists and how I init them, I always use the > same context. > I don't think my problem is particularly linked to lists, at least it doesn't look like. It is like the problem described in the original thread I linked to, I cannot reuse the proxies, nor I know an easy way to copy them - a workaround provided in the issue #5794 doesn't work for me as my graph has cycles, and the workaround provided in the linked discussion isn't working on 2.4 anymore, as it seems. Thanks, Tiago. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/TOPGJxIHj94J. 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-web-toolkit?hl=en.
