Bug 283819

Summary: akonadi complains about invalid maildir after fresh install
Product: [Frameworks and Libraries] Akonadi Reporter: Philip Muškovac <yofel>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: asraniel, johannes.hirte, peter, vkrause
Priority: NOR    
Version: 1.6.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Philip Muškovac 2011-10-11 19:29:48 UTC
Version:           1.6.0 (using KDE 4.7.1) 
OS:                Linux

After a fresh install of kubuntu oneiric I get a warning notification with:

Local Folders: Maildir '' for collection '' is invalid.

Probably doesn't break anything but is confusing for users.

Reproducible: Didn't try

Steps to Reproduce:
Happened in the iso test of http://iso.qa.ubuntu.com/qatracker/result/6970/53


Expected Results:  
There should've been no message, as there was nothing configured yet that akonadi could've used.

Xsession-errors can be found on
https://bugs.launchpad.net/ubuntu/+source/akonadi/+bug/872454
Comment 1 Philip Muškovac 2011-10-12 17:41:31 UTC
Did another install, this time it showed the maildir warning *and*

AkoNotes: Error opening ; this folder is missing.
Comment 2 Johannes Hirte 2011-11-07 21:06:54 UTC
This also happens on creating new (sub)folders in kmail2. I've seen this with local maildir storage. After creating a new folder in kmail, I can't access the folder. Instead I get the error message: Local Folders: Maildir '' for collection '' is invalid.

The folder is correctly created in the filesystem. I'm also able to move mails in kmail to this folder, but they are lost then. A workaround was to remove the folder in kmail after creating it and than recreate it. After removing it in kmail it wasn't removed in the filesystem. When recreating the folder in kmail I was able to use it normaly.
Comment 3 Johannes Hirte 2011-11-07 21:08:49 UTC
forgotten: I've tested this with akonadi-server-1.6.2 and the latest git.
Comment 4 Beat Wolf 2012-02-04 12:49:45 UTC
Confirmed with kde 4.8
Comment 5 Volker Krause 2012-03-11 17:50:14 UTC
kdepimlibs commit a9da6ca4d9823b39a81302cb1253339a3066157f fixes the cause for this.