[Dev] Re: itemcollection and the trash

Andi Vajda vajda at osafoundation.org
Mon Aug 1 14:25:51 PDT 2005


> Hey guys -
> so I'm working on the Trash & Deletion stuff for 0.6, and I'm running
> into some snags because of what appear to be bugs in the current
> ItemCollection implementation.... (specifically, the list and calendar
> blocks aren't being notified when items are being removed from a
> collection - I think its because the exclusions list is managed outside
> of queries, so the query doesn't know that items have changed)
> 
> so I'm curious what the status of the new itemcollection stuff is? Do you
> know when we can expect a landing of some sort?
> 
> Further, I want to make sure that a specific use case for deletion is
> being covered: basically when I call item.delete() we need to make sure
> that all the collections (or queries, or however this will work) get
> alerted to the fact that the item has been deleted, so it can in turn
> notify its subscribers.

With the 'new' implementation, all such collections are indeed notified.

Andi..


More information about the Dev mailing list