ContainerAdmin window does not update correctly
Status: Alpha
Brought to you by:
morey_surfer
ContainerAdmin window does not update correctly on drag and drop of users. Primary model is correctly modified (as you can reload the window and see the change) but the change is not flowing through. Testing indicates the problems is due to or is causing an IllegalStateException . Stack Trace is here:
29/04/2008 08:17:25 org.zkoss.zkex.zul.impl.OperationThread run:205
WARNING:
java.lang.IllegalStateException: Before activation, the server push must be enabled for [Desktop g4q51]
at org.zkoss.zk.ui.Executions.activate(Executions.java:533)
at org.zkoss.zkex.zul.impl.OperationThread.run(OperationThread.java:150)
Logged In: YES
user_id=1884952
Originator: YES
Problem is with the ZK TreeDataEvent handling in the Tree class in adding and removing Treechildren (and therefore child Treeitems). Will have to wait for an update from ZK. Temporary Fix in place (changed the model elements for permissions to return false to the isLeaf() method so that each has a constant Treechildren object).