[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: Re: [Kde-pim] Review Request 108810: Modify the content of mMaildirsForCollection after a folder-mov
From: "Wolfgang Rohdewald" <wolfgang () rohdewald ! de>
Date: 2013-02-10 23:36:41
Message-ID: 20130210233641.10395.93205 () vidsolbach ! de
[Download RAW message or body]
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108810/#review27159
-----------------------------------------------------------
I can confirm that this fully fixes the maildir problems I reported.
- Wolfgang Rohdewald
On Feb. 8, 2013, 3:01 p.m., Guy Maurel wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108810/
> -----------------------------------------------------------
>
> (Updated Feb. 8, 2013, 3:01 p.m.)
>
>
> Review request for KDEPIM, Andras Mantia, Kevin Krammer, Volker Krause, and \
> Wolfgang Rohdewald.
>
> Description
> -------
>
> As a folder-move doesn't modify the content of mMaildirsForCollection,
> all the next operations with that folder get invalid:
> - creating a new subfolder let it without a valid remoteId,
> - moving a message to it create an entry at the pimitemtable, but
> not readable. The message appears little later again at the source folder.
> This cannot be repaired. The new subfolder muss be deleted.
>
> This doesn't occur if one closes kmail just after the move.
>
> I propose to change the content of mMaildirsForCollection with:
> - delete the entry
> - insert a new one.
>
> This is the solution to my questions at the mailing list:
> - move message(s) doesn't work all the times, 11.12.2012 20:14
> - some mails disappear, 19.12.2012 19:28
>
> and from Wolfgang Rohdewald:
> - moving mails between maildir directories, 20.01.2013 02:03
>
>
> Diffs
> -----
>
> resources/maildir/maildirresource.cpp 01a432f
>
> Diff: http://git.reviewboard.kde.org/r/108810/diff/
>
>
> Testing
> -------
>
> Let say, we have two folders "A" and "B", and a subfolder "a1" under "A".
>
> Open the akonadi console, enable the Debbugger and look at the lower window.
> Now move the folder "a1" from "A" to "B".
> One can see the green message:
> Collection (24, a1) from collection 21 moved to collection 8
>
> Now, click another folder to see the content, and click once more the
> moved folder "a1".
> One can see the red message:
> AgentBase(akonadi_maildir_resource_0): Maildir \
> '/home/guy-kde/.local/share/local-mail/.inbox.directory/a1' for collection 'a1' is \
> invalid.
>
> Thanks,
>
> Guy Maurel
>
>
_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic