Hi again,
I 'm actually using Vol 2005.2, that's the first release where the tree view has data binding, so I think it will be a bit hard for you to reprodcue exactly.
It's the generated code that breaks, the TrustEntity code which has a Venues collection, the venue in question is the one being moved from one trust to another, the add has taken place (I traced the code) and then it's trying to remove the venue from the leaving trust and that's where the exception is thrown.
The funny thing is that when I added the if statement (see my little code snippet) to check if the venue was in the collection, IT's THERE and the if is true, then when the remove is executed it throws an exception using the same venue object. It's wierd all right.
Anyway, I will try to confine and reproduce this better and will post back when that's done (or the problem is fixed
).
Bert
PS By the way I'm running the adapter scenario.