Avatar

Level 1

Hi and thanks for your answer!

The entity is not associated with any other entities or contains any other entities ...

How should i pass the entity without putting it into an array, cause the commit mehod looks like:

public function commit(itemsOrCollections:Array = null, cascadeCommit:Boolean = false):mx.rpc:AsyncToken

I also tried cascadeCommit = true without changes ...

The confusing thing is, that the collectionEvent.kind is "add" with collectionEvent.items= [null] .... and it seems that the mx.data::DataList/getItemIndex is not null-safe ...

..... an open source code of LCDS would be nice

So any other ideas?

Thanks

Philip Mair