[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    resource and itemMoved()
From:       Martin Koller <kollix () aon ! at>
Date:       2018-04-07 12:36:35
Message-ID: 8197430.IXGqXAMoOg () lapi ! koller
[Download RAW message or body]

There is the method itemMoved() in a resource.
As the name suggest, I assume this is called AFTER the akonadi server already
changed the database entries, right ?

What happens when the resource can not finish the real move on the storage ?
In my case, maildir, itemMoved() fails due to an already existing file with the same name in the
destination folder, and it calls cancelTask().

In which state is the database after this failure ?

In my case I find in the mySQL db only ONE entry with this remoteId in the final folder.
So the mail file is still on disk in my inbox but it's not in the DB.

-- 
Best regards/Schöne Grüße

Martin
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?

()  ascii ribbon campaign - against html e-mail 
/\                        - against proprietary attachments

Geschenkideen, Accessoires, Seifen, Kulinarisches: www.lillehus.at


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic