Ticket #60 (defect)

Opened 2 years ago

Last modified 2 years ago

Deleting folders doesn't always work well on courier (and probably other IMAP servers too)

Status: closed (fixed)

Reported by: pvanhoof Assigned to: pvanhoof
Priority: critical Milestone: A first release
Component: libtinymail-camel Version: 1.0
Keywords: Cc: dirk-jan.binnema@nokia.com

There are a few problems with folder removals and they are all related:

The implementation in libtinymail-camel for tny_folder_store_remove_folder doesn't recursively remove its kids first. This causes that the kids either don't get unsubscribed or removed. On courier this gives significant problems, like LSUB becoming meaningless and LIST becoming full of nonsense like "there's still a subfolder but no more parent folder".

Therefore a full reimplementation of tny_folder_store_remove_folder is needed. One that does remove the kiddies.

The folder removal must then also notify the observers correctly (like what tny_folder_copy with del=TRUE also does). Actually is a lot of tny_folder_copy with del=TRUE reusable for the folder removal.

Note that there are two types that need this implemented, TnyCamelFolder and TnyCamelStoreAccount.

Attachments

Change History

05/17/07 03:10:11: Modified by anonymous

  • summary changed from Deleting folders doesn't always work well on courier to Deleting folders doesn't always work well on courier (and probably other IMAP servers too).

05/18/07 19:34:14: Modified by pvanhoof

  • status changed from new to closed.
  • resolution set to fixed.

Deleting is now always recursiveness


Add/Change #60 (Deleting folders doesn't always work well on courier (and probably other IMAP servers too))




Change Properties
Action