Bug 329782 - Deleted IMAP folders reappear
Summary: Deleted IMAP folders reappear
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.12
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Christian Mollekopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-09 21:38 UTC by Nathan Wolf
Modified: 2017-01-07 22:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Wolf 2014-01-09 21:38:59 UTC
When selecting a folder to delete in an IMAP account, the folder will reappear after a few moments.  Selecting to delete from Kontact or Akonadi Console produces same results.  Folders reappear after IMAP "retrieves folder list".

Reproducible: Always

Steps to Reproduce:
1. Select folder to delete
2. Agree to delete folder
3. IMAP resource retrieves folder list
4. Folders reappear
Actual Results:  
Folders reappear

Expected Results:  
Folder should be deleted

Partial Debugging Output from Akonadi Console (Specific account info has been replaced):

AkonadiConsole Browser Widget (0x22346d0) 163 SELECT SILENT 1187 
AkonadiConsole Browser Widget (0x22346d0) 163 OK Completed 
AkonadiConsole Browser Widget (0x22346d0) 164 FETCH 1:* FULLPAYLOAD CACHEONLY IGNOREERRORS ANCESTORS INF EXTERNALPAYLOAD (UID COLLECTIONID FLAGS SIZE REMOTEID REMOTEREVISION DATETIME) 
AkonadiConsole Browser Widget (0x22346d0) 164 OK FETCH completed 
akonadiconsole-495252308 (0x21c38c0) 5 DELETE 1187 
akonadiconsole-495252308 (0x21c38c0) 5 OK DELETE completed 
akonadi_imap_resource_0 (0x215a540) 580 LSUB 1191 0 () (STATISTICS true ANCESTORS INF) 
akonadi_imap_resource_0 (0x215a540) 580 NO Collection 1191 does not exist 
akonadi_imap_resource_0 (0x215a540) 581 LSUB 1188 0 () (STATISTICS true ANCESTORS INF) 
akonadi_imap_resource_0 (0x215a540) 581 NO Collection 1188 does not exist 
akonadi_imap_resource_0 (0x215a540) 582 LSUB 1187 0 () (STATISTICS true ANCESTORS INF) 
akonadi_imap_resource_0 (0x215a540) 582 NO Collection 1187 does not exist 
akonadi_imap_resource_0 (0x215a540) 583 LSUB 1189 0 () (STATISTICS true ANCESTORS INF) 
akonadi_imap_resource_0 (0x215a540) 583 NO Collection 1189 does not exist 
akonadi_imap_resource_0 (0x215a540) 584 LSUB 83 0 () (STATISTICS true ANCESTORS INF) 
akonadi_imap_resource_0 (0x215a540) * 83 0 (NAME "AKO" MIMETYPE (inode/directory) REMOTEID "imap://nathan@imap.account/" REMOTEREVISION "" RESOURCE "akonadi_imap_resource_0" VIRTUAL 0 MESSAGES 0 UNSEEN 0 SIZE 0 CACHEPOLICY (INHERIT false INTERVAL 35 CACHETIMEOUT -1 SYNCONDEMAND true LOCALPARTS (ENVELOPE HEAD RFC822)) ANCESTORS ((0 "")) noselect "1" PARENT "0") 
akonadi_imap_resource_0 (0x215a540) 584 OK List completed 
akonadi_imap_resource_0 (0x215a540) 585 LIST 0 INF (RESOURCE akonadi_imap_resource_0) (ANCESTORS 1) 
akonadi_imap_resource_0 (0x215a540) * 88 83 (NAME "Archive" MIMETYPE (inode/directory message/rfc822) REMOTEID "/Archive" REMOTEREVISION "" RESOURCE "akonadi_imap_resource_0" VIRTUAL 0 CACHEPOLICY (INHERIT true INTERVAL 35 CACHETIMEOUT -1 SYNCONDEMAND true LOCALPARTS (ENVELOPE HEAD RFC822)) ANCESTORS ((83 "imap://nathan@imap.account/")) PARENT "83" uidnext "2" collectionflags "\\Answered \\Flagged \\Draft \\Deleted \\Seen \\*" uidvalidity "1373422604" highestmodseq "211083404251624" collectionquota "477812736 1073741824" imapacl "nathan lrswipcdan %% " timestamp "1388355094" imapquota "user/nathan %%%% STORAGE % 1048576 %%%% STORAGE % 466614") 
akonadi_imap_resource_0 (0x215a540) * 90 83 (NAME "Calendar" MIMETYPE (inode/directory message/rfc822) REMOTEID "/Calendar" REMOTEREVISION "" RESOURCE "akonadi_imap_resource_0" VIRTUAL 0 CACHEPOLICY (INHERIT true INTERVAL 35 CACHETIMEOUT -1 SYNCONDEMAND true LOCALPARTS (ENVELOPE HEAD RFC822)) ANCESTORS ((83 "imap://nathan@imap.account/")) PARENT "83" uidnext "1" collectionflags "\\Answered \\Flagged \\Draft \\Deleted \\Seen \\*" uidvalidity "1370034526" highestmodseq "207695326800856" collectionquota "477812736 1073741824" imapacl "nathan lrswipcdan %% " timestamp "1388355095" imapquota "user/nathan %%%% STORAGE % 1048576 %%%% STORAGE % 466614") 
akonadi_imap_resource_0 (0x215a540) * 85 83 (NAME "Deleted Messages" MIMETYPE (inode/directory message/rfc822) REMOTEID "/Deleted Messages" REMOTEREVISION "" RESOURCE "akonadi_imap_resource_0" VIRTUAL 0 CACHEPOLICY (INHERIT true INTERVAL 35 CACHETIMEOUT -1 SYNCONDEMAND true LOCALPARTS (ENVELOPE HEAD RFC822)) ANCESTORS ((83 "imap://nathan@imap.account/")) PARENT "83" uidnext "2" collectionflags "\\Answered \\Flagged \\Draft \\Deleted \\Seen \\*" uidvalidity "1318259068" highestmodseq "195995551820786" collectionquota "477812736 1073741824" imapacl "nathan lrswipcdan %% " timestamp "1388355092" imapquota "user/nathan %%%% STORAGE % 1048576 %%%% STORAGE % 466614")
Comment 1 Wolfgang Bauer 2014-04-27 20:15:32 UTC
I did have the same issue with only one of my IMAP accounts.

But it seems to be fixed in 4.13.

Can you upgrade to 4.13 (openSUSE packages are available in the KDE:Current repo) and check whether you still see the issue or not?
Comment 2 Denis Kurz 2016-09-24 20:43:15 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 22:48:57 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.