[issue4860] Moving multipe contacts accross folders causes endless loop

aheinecke <[email protected]>
Newsgroups gmane.comp.kde.devel.kolab
Message-ID <1353078215.56.0.475778692286.issue4860__5995.87150286442$1353078243$gmane$org@kolab.org>
Steps to reproduce:
1. Create Folders A and B
1. Create Contacts A and B in folder A
2. Select Contacts A and B
3. Right click and select "Move to"
4. Follow the dialogs, select folder B

-> Kontact goes into a loop printing a loop of debug messages like:
kresources: kmailUpdate returned, now sernum=7764 for uid=q5LYeUC4kI
kmail: KMailICalIfaceImpl::deleteIncidenceKolab(
/home/andre/kde35_home/share/apps/kmail/dimap/.1044154637.directory/.INBOX.directory/Kontakte,
7762)
kmail: Delete of UID 0 at index: 0 in aheinecke2/inbox/Kontakte
kmail: Emitting DCOP signal incidenceDeleted( Contact,
/home/andre/kde35_home/share/apps/kmail/dimap/.1044154637.directory/.INBOX.directory/Kontakte,
RP0wIoNMUL )
kmail: Creation time string: 2012-01-23T14:15:28Z
kmail: Creation date loaded
kmail: KMailICalIfaceImpl::update(
/home/andre/kde35_home/share/apps/kmail/dimap/.1044154637.directory/.INBOX.directory/Kontakte,
0 )
kmail: (file:///tmp/kde35-squeeze-andre/kde-andre/kontactDoh7dd.tmp?charset=UTF-8)
kmail: (application/x-vnd.kolab.contact)
kmail: (kolab.xml)
kmail: 7RePHo0wJu
kmail: deleted attachments:(kolab-picture.png,kolab-logo.png,sound)
kmail: KMailICalIfaceImpl::addIncidenceKolab( (kolab.xml) )
kmail: CharFreq returned 4/0.986239 and I chose 7bit
kmail: KMailICalIfaceImpl::updateAttachment(
file:///tmp/kde35-squeeze-andre/kde-andre/kontactDoh7dd.tmp?charset=UTF-8 )
kmail: CharFreq returned 4/0.960767 and I chose 7bit
kmail: Attachment kolab.xml added.
kmail: addIncidenceKolab(): Message done and saved. Sernum: 7765

Until you kill it.

After a restart the index of folder B is broken and shows thousands of contacts.
Reindexing it helps.

Need to investigate the reason for this.

----------
assignedto: aheinecke
keyword: enterprise35, kde client
messages: 28801
nosy: aheinecke, allen, emanuel, laurent, ludwig, sergio, till, vkrause
priority: critical
status: chatting
title: Moving multipe contacts accross folders causes endless loop

______________________________________
Kolab issue tracker <[email protected]>
<https://roundup.kolab.org/issue4860>
______________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.