Summary: | Moving, removing and renaming of imap folders doesn't work correctly | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Tamás Németh <nt1277> |
Component: | IMAP resource | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | amantia, kdepim-bugs, kollix, montel, null, vkrause, wstephenson |
Priority: | NOR | ||
Version: | 4.7 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdepim-runtime/f35821bdf6ddaf731a312bb370ccbaf726963d78 | Version Fixed In: | |
Sentry Crash Report: |
Description
Tamás Németh
2011-11-30 12:18:33 UTC
Did you check mail to force a server sync after the folder operations? (In reply to comment #1) > Did you check mail to force a server sync after the folder operations? Yes, but it didn't help at all :-( Please, make a control with "akonadi console" Choose "DB Browser", "collectiontable", "Refresh" Get a look to the column "remoteId". Are there any cell(s) with nothing? If yes, let me/us know by copying the raw(s). is it still valid in last version ? In 4.11.3 it is still not possible to remove an empty folder. I debugged and found that the problem is that RemoveCollectionRecursiveTask does: // mark all items as deleted KIMAP::ImapSet allItems; allItems.add( KIMAP::ImapInterval( 1, 0 ) ); // means 1:* KIMAP::StoreJob *storeJob = new KIMAP::StoreJob( mSession ); and the server replies with an error 100: "Store failed, server replied: A000005 BAD Error in IMAP command STORE: Invalid messageset " Git commit f35821bdf6ddaf731a312bb370ccbaf726963d78 by Christian Mollekopf. Committed on 18/11/2013 at 16:04. Pushed by cmollekopf into branch 'master'. The store job can fail if the itemset is empty. Since we're too lazy to check what's available, we simply ignore errors. Any actually IMAP compliant server shouldn't require this step anyways. M +2 -1 resources/imap/removecollectionrecursivetask.cpp http://commits.kde.org/kdepim-runtime/f35821bdf6ddaf731a312bb370ccbaf726963d78 |