Bug 283467 - Kmail has duplicated folders after migration from previous version
Summary: Kmail has duplicated folders after migration from previous version
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-06 12:46 UTC by Swâmi Petaramesh
Modified: 2011-11-11 01:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.7.3


Attachments
Duplicate folder screenshot (23.67 KB, image/jpeg)
2011-10-06 12:46 UTC, Swâmi Petaramesh
Details
Cannot modify folder... error MSG screenshot (28.33 KB, image/jpeg)
2011-10-06 12:47 UTC, Swâmi Petaramesh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Swâmi Petaramesh 2011-10-06 12:46:45 UTC
Created attachment 64284 [details]
Duplicate folder screenshot

Version:           4.7 (using KDE 4.7.1) 
OS:                Linux

After upgrading from KUbuntu Natty to Oneiric, which migrates KMail from 1.x to 2.x, at next KDE login the migration tool converts the old datastore to the new Akonadi one, duplicating all the folders.

Reproducible: Didn't try

Steps to Reproduce:
Migrate a french-locale KMail, POP3 account, from 1.x to 2.X

Actual Results:  
Once this completes, KMail has both folders with localized names and nice icons (albeit empty), AND same folders with english names, without the nice icons, and where email have actually been stored (and these folders are the "active" one for whatever purpose, i.e. send, receive, etc...)

See attached screenshot.

Expected Results:  
Duplicate folders shouldn't be created. Folders with localized names should be the only ones existing and in use.

Furthermore, when processing mail, KMail often spits messages telling it cannot write to the mail folders (see screenshot), however this is wrong as messages seem to be processed, stored, moved properly, etc.


OS: Linux (i686) release 3.0.0-12-generic
Compiler: gcc
Comment 1 Swâmi Petaramesh 2011-10-06 12:47:27 UTC
Created attachment 64285 [details]
Cannot modify folder... error MSG screenshot
Comment 2 Laurent Montel 2011-10-06 13:36:42 UTC
There is a pb with migration it's right.
I don't know why by default it must change current inbox folder as special folder but it doesn't do it :(
Will look at.
Comment 3 Swâmi Petaramesh 2011-10-06 13:39:56 UTC
I'd love to be able to fix this manually before my wife kills me, that's her machine and her email, so that's some sort of an Emergency, KDE WAF, etc ;-)
Comment 4 Laurent Montel 2011-10-06 13:59:26 UTC
For the moment don't know how to fix it manually sorry :(
Comment 5 Swâmi Petaramesh 2011-10-06 14:47:37 UTC
Is there no way to rename/move folders/contents manually, to end-up only with the desired folders ?
Comment 6 Laurent Montel 2011-10-07 15:15:17 UTC
Git commit 6bdc6290632be5fc6c103064463d7421b5e3b60d by Montel Laurent.
Committed on 07/10/2011 at 17:14.
Pushed by mlaurent into branch 'master'.

Fix Bug 283467 - Kmail has duplicated folders after migration from previous version.

By default in config we don't translate config name.
We use "inbox" "sent-mail" etc.

BUG: 283467
FIXED-IN: 4.7.3

M  +35   -17   migration/kmail/localfolderscollectionmigrator.cpp

http://commits.kde.org/kdepim-runtime/6bdc6290632be5fc6c103064463d7421b5e3b60d
Comment 7 Laurent Montel 2011-10-07 15:15:52 UTC
Git commit f31f88fcacb45729a631d56a22ecf05a620ff448 by Montel Laurent.
Committed on 07/10/2011 at 17:14.
Pushed by mlaurent into branch 'KDE/4.7'.

Fix Bug 283467 - Kmail has duplicated folders after migration from previous version.

By default in config we don't translate config name.
We use "inbox" "sent-mail" etc.

BUG: 283467
FIXED-IN: 4.7.3
(cherry picked from commit 6bdc6290632be5fc6c103064463d7421b5e3b60d)

M  +35   -17   migration/kmail/localfolderscollectionmigrator.cpp

http://commits.kde.org/kdepim-runtime/f31f88fcacb45729a631d56a22ecf05a620ff448
Comment 8 Jonathan Riddell 2011-11-11 01:26:32 UTC
This fix was included in the Kubuntu 11.10 release