Out of Sync error


I have attached a maven project demonstrating what I’m seeing. Its a much simplified version of whats going on in reality.

I have a treetable. Each row has a description, and a checkbox. The parent checkbox is disabled. If one of the children is selected it is enabled, and set checked. If the parent checkbox is unchecked, then all children are unchecked, and parent is set disabled.

This seems to work fine. However sooner or later one of the lower entitlements in the tree will NOT set the parent checkbox, not long thereafter I get something like:

Oct 20, 2011 5:42:15 PM com.vaadin.terminal.gwt.server.AbstractCommunicationManager handleVariableBurst
WARNING: Warning: Ignoring variable change for non-existent component, VAR_PID=PID_SRole Engineering Tester checkbox

I suspect its something with how I’m initialising things, prehaps relying on the anonymous inner classes to hold variables is not wise. Please let me know.

Please beaware that I have no idea before hand how many entitlements or roles will be present. In this simple example its hard coded, but in reality, its database calls.

You can compile the war with ‘mvn package’ and copy the war into your tomcat. Then browse to some url like: http://localhost:8080/vaadin_play-1.0-SNAPSHOT/

Thanks in advance.
11969.zip (10.7 KB)

Had the same problem, seems TreeTable bundled with Vaadin 7 has many bugs, also another bug regarding expand/unexpand tree leaf will render wrongly.

Please help!

This is likely the same issues as http://dev.vaadin.com/ticket/7839. Follow that for updates.