[Kde-pim] Marketing blocker collection, DEADLINE: 2013-03-10

Kevin Krammer krammer at kde.org
Mon Mar 4 14:11:33 GMT 2013


On Monday, 2013-03-04, Wolfgang Rohdewald wrote:
> Am Montag, 4. März 2013, 13:08:18 schrieb Kevin Krammer:
> > On Sunday, 2013-03-03, Wolfgang Rohdewald wrote:
> > > Am Sonntag, 3. März 2013, 19:13:57 schrieb Kevin Krammer:
> > > > > Or to put it differently: stick to the common notion of a cache,
> > > > > i.e. as in browser cache, thumbnail cache etc.
> > > > 
> > > > Right. This is already the case. I checked the cache and it does only
> > > > contains cached data and references to the item the data is cached
> > > > for.
> > > 
> > > Right. And it generates different references to the same items if the
> > > cache is cleared (by deleting it).
> > 
> > The part id will be different but the reference to the item will be the
> > same (the item id is not the primary key of the part table, it is taken
> > from the item table which is not affected).
> 
> We need to clarify meanings.
> In filter action context, the cached item is a collection. And the
> collection id is the reference. The collection id will change,
> invalidating the filter action.
> 
> Did I get that right?

Partially.
The collection id will "change" if you remove the resource from the setup and 
create a new resource for the same backend. From Akonadi's point of view this 
is a new set of collection and they will have different ids than collections 
that existed before.

This is, however, unrelated to the cache functionality. Clearing the cache 
does not remove any collections or items, only cached item data.
Thus clearing the cache will not result in change of collection ids.

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20130304/d3943482/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list