Page MenuHomePhorge

Kontact, Invetations are moved to the wrong trash folder
Closed, ResolvedPublic

Description

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.

Details

Ticket Type
Task

Event Timeline

mollekopf lowered the priority of this task from 60 to 40.Apr 22 2016, 1:56 PM

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.

knauss moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.

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
knauss moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.

We need to sit down, to construct a solution for that, where we get the full populated collection.

knauss moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
knauss moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Apr 28 2016, 8:51 PM
knauss moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Apr 29 2016, 12:02 PM
mollekopf moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Apr 29 2016, 2:17 PM
knauss moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.May 2 2016, 9:54 AM