Bug 259726

Summary: second try to export a contact leads to crash
Product: [Applications] KAddressbook Mobile Reporter: Ludwig Reiter <ludwig.reiter>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CLOSED FIXED    
Severity: crash CC: aheinecke
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Windows CE   
OS: Microsoft Windows CE   
Latest Commit: Version Fixed In:

Description Ludwig Reiter 2010-12-13 14:13:09 UTC
Version:           unspecified (using Devel) 
OS:                Windows CE

version: svn-1204839

Reproducible: Didn't try

Steps to Reproduce:
1. Select a contact folder with contacts.
2. Try to export contacts 1st time.
3. Try to export contacts to a different folder (2nd time)

Actual Results:  
=>Crash.

Expected Results:  
No Crash,
Comment 1 Andre Heinecke 2010-12-21 15:09:18 UTC
This can be more generalized to exporting Data (not only in addressbook also in mail) crashes the application if the file already exists.

Tested it with kmail and kaddressbook export actions
if you try to overwrite a file it crashes. I'll try to get a backtrace or more information.
Comment 2 Andre Heinecke 2010-12-21 17:35:02 UTC
SVN commit 1208431 by aheinecke:

Take out KRecentDocument usage for Windows CE because it is
not ported correctly and is unused anyway.

KRecentDocument::add lead to crashes described in
BUG: 259726


 M  +9 -0      kfiledialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1208431
Comment 3 Ludwig Reiter 2011-01-13 15:04:45 UTC
version 2011-01-12 git-b984b66 with old akonadi agent server

I can export contacts twice to the some name without problems.
Ok.