[Bug 253054] New: Akonadi clients don't show nested resources when no matching top level resources are present

Peter Grasch grasch at simon-listens.org
Sat Oct 2 19:46:54 BST 2010


https://bugs.kde.org/show_bug.cgi?id=253054

           Summary: Akonadi clients don't show nested resources when no
                    matching top level resources are present
           Product: kde
           Version: CVS
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: grasch at simon-listens.org


Version:           CVS (using Devel) 
OS:                Linux

Akonadi applications display collections based on their mimetype. For example
the KAddressbook only displays collections containing contacts and distribution
lists. KOrganizer looks for events and todos.

The filtering is done by akonadi but there is a bug: The filtering works only
if the collection in question is a top level collection or there is at least
one top level collection with the correct mimetype.

With e.g. the groupdav resource this is not the case.

Configuration Examples:
1. Only iCal resource loaded
Resources: iCal
Works

2. Only groupdav resource loaded:
Resources: groupdav/calendar
Doesn't work

3. Groupdav and iCal resource loaded:
Resources: groupdav/calendar, iCal
Works.

Reproducible: Always

Steps to Reproduce:
Add a resource that provides non top-level collection with a matching mimetype
and make sure it is the only one that matches. Then try to list this mimetype
with the EntityTreeView.
For example: Set up the groupdav resource, make sure it is the only one
providing contacts and open KAddressbook - it will be totally empty.

Actual Results:  
Empty model.

Expected Results:  
Model containing the groupdav resource.

I wrote a workaround and will upload it to the reviewboard after this bug
report.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list