I have a folder "Trash" in the kolab resource and a folder "trash" in
local folders. The folder "kolab/Trash" ist defined as my trash.
If I accept a invitation or a update. The message is moved
to local/trash not to kolab/Trash. Thats reproducible.
Description
Details
- Ticket Type
- Task
Revisions and Commits
Related Objects
Event Timeline
Can reproduce this with outr testimage. I also see this behavour is i hit del to delete a normal message. It is everytime moved to local trash.
okay the delete a simple mail is a an issue when the trash resource is set and than kontact is not restarted. But it is fixed, when kontact is restarted.
For invitations it is the problem, that the collection is not populated, when the trash collection is requested - We need the populated resource string to find the correct trash collection.
kontact(1989) MailCommon::Kernel::trashCollectionFromResource: Collection ID: 22 remote ID: "/INBOX"
name: "" url: KUrl("akonadi://?collection=22") parent: -62 "" resource: "" rights: QFlags(0x1|0x2|0x4|0x8|0x10|0x20) contents mime type: () isVirtual: false CachePolicy: inherit: true interval: -1 timeout: -1 sync on demand: false local parts: () CollectionStatistics: count: -1 unread count: -1 size: -1
instead of:
MailCommon::Kernel::trashCollectionFromResource: Collection ID: 22 remote ID: "/INBOX"
name: "INBOX" url: KUrl("akonadi://?collection=22") parent: 13 "imap://john.doe@example.org@kolab/" resource: "akonadi_kolab_resource_0" rights: QFlags(0x1|0x2|0x4|0x8|0x20) contents mime type: ("inode/directory", "message/rfc822") isVirtual: false CachePolicy: inherit: true interval: -1 timeout: -1 sync on demand: true local parts: ("ENVELOPE", "HEAD", "RFC822") CollectionStatistics: count: 2 unread count: 0 size: 5752
We need to sit down, to construct a solution for that, where we get the full populated collection.