In my program I have a TreeGrid which is connected with live data via a RpcProxy and a TreeLoader.

Schermafbeelding 2012-11-27 om 5.46.43 PM.png

Now there's is a bug in the TreeGrid when the Parent 'Map' is open while there's a data update for this Parent 'Map'. For example in this situation 'Map A' when I make a copy of 'Doc A'. After the update of the data nothing seems to happen, but when 'Map A' is closed and opened again;

Schermafbeelding 2012-11-27 om 5.57.05 PM.png

The old 'Doc A' and the new 'Copy of Doc A' are present in 'Map A' (as it should) but there's also a new strange copy of 'Doc A' outside 'Map A'

Schermafbeelding 2012-11-27 om 5.58.27 PM.png

The new data outside the parent is random; sometimes only one file from the parent and sometimes multiple files from the parent. This behavior only occurs when the parent 'Map' is open while updating the data from this 'Map'. As a workaround my program closes every 'Map' before updating it's data. But this is a lot of work and is strange behavior to the user...