When trying to save a complex EntityProxy I receive validation errors on 
empty entities that should not be there.  When I inspect the entity to be 
sent to the server I see a total of 6 entities to be saved but when I 
inspect the IdToEntityMap that is used for validation I see a total of 9 
entities to be validated.  The 3 additional entities are just empty 
entities.  If I disable validation through my ServiceLayerDecorator the 
empty entities do not show up on the server, just the entities I submitted.

Here is the entities I see when validate is called:

{1@[email protected]=com.google.web.bindery.autobean.vm.impl.ProxyAutoBean@42538425,
 
2@[email protected]=com.google.web.bindery.autobean.vm.impl.ProxyAutoBean@33d2158c,
 
3@[email protected]=com.google.web.bindery.autobean.vm.impl.ProxyAutoBean@58d48756,
 
"5"@[email protected]=com.google.web.bindery.autobean.vm.impl.ProxyAutoBean@69014ca9,
 
"1"@[email protected]=com.google.web.bindery.autobean.vm.impl.ProxyAutoBean@5450211a,
 
"1"@[email protected]=com.google.web.bindery.autobean.vm.impl.ProxyAutoBean@35ca01cb,
 
"3"@[email protected]=com.google.web.bindery.autobean.vm.impl.ProxyAutoBean@58ad5d34,
 
"3"@[email protected]=com.google.web.bindery.autobean.vm.impl.ProxyAutoBean@78b8f5f5,
 
"3"@0...@com.mjnservices.lms.core.shared.model.proxy.RegisteredUserProxy=com.google.web.bindery.autobean.vm.impl.ProxyAutoBean@f62b12d}

The first 3 are the empty ones and the last 6 are the ones I submitted.  
Does anyone have any ideas why I would have additional entities present for 
validation?

Thanks!
Steve

-- 
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/-/_vXJUeX07JAJ.
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.

Reply via email to