More details to first issue (delete item with ds.deleteItem): The item is in fact deleted from the database, just the display in my application is wrong - when I restart application, the deleted item is really deleted.
In client log (in Flex Builder) there are following lines after commit: Updating cached item for: Parent#:#254 excluding properties: null Adding item to cache: ChildItem#:#272 destination: ChildDestination About to dispatch commit result events where 272 is the id of the item I am trying to delete. TIA for any help. Zdenek M --- In flexcoders@yahoogroups.com, Zdenek Mikan <[EMAIL PROTECTED]> wrote: > > I have got big problems deleting items from my managed collections: > > When I delete item through ds.deleteItem and then call the ds.commit, > after return from the commit operation my item is back in the > ArrayCollection. The second time this item is deleted properly. > > When I delete item through ac.removeItemAt the item is again restored by > commit, but this time it is impossible to delete this item by the second > call. > > When I delete item from the collection and add another item into the > same collection, the commit fails and the server returns error "The item > was not in the cache..." > > Does anyone know how to fix these problems? My items have to be > improperly cached somewhere... > > TIA Zdenek >