Bug 96792 - send contact depends on data content of familyName
Summary: send contact depends on data content of familyName
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kab3
Classification: Miscellaneous
Component: general (show other bugs)
Version: 3.3
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Koenig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-11 19:11 UTC by Bernd Kummer
Modified: 2009-08-05 16:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Kummer 2005-01-11 19:11:30 UTC
Version:           3.3 (using KDE 3.3.0, SuSE)
Compiler:          gcc version 3.3.4 (pre 3.3.5 20040809)
OS:                Linux (i686) release 2.6.8-24.10-default

If I have a familyName of "aa / bb" and use "send contact to another user", NO vcard is appended to the eMail.
If the name is changed to "aa - bb" everything works fine, a vcard is
appended to the message.
Conclusion: the "send contact" function should not be dependant on the content of familyName (or any other field).
Comment 1 Tobias Koenig 2005-01-12 13:10:10 UTC
CVS commit by tokoe: 

Replace '/' and ' ' in filename to generate a valid one.

BUG:96792


  M +2 -0      kabcore.cpp   1.146


--- kdepim/kaddressbook/kabcore.cpp  #1.145:1.146
@@ -389,4 +389,6 @@ void KABCore::mailVCard( const QStringLi
 
     QString name = a.givenName().utf8() + "_" + a.familyName().utf8() + ".vcf";
+    name.replace( ' ', '_' );
+    name.replace( '/', '_' );
 
     QString fileName = dirName + "/" + name;


Comment 2 Bernd Kummer 2005-01-14 09:29:59 UTC
I got funny results importing vcards to my addressbook: in a special case I was unable to have two different givenNames for one family name, both entries where "merged", only one entry showed up. This problem vanished when I removed a slash in the field "desription".
There seem to be more dependencies on data content in various functions.
Thank you for you speedy fix.
Bernd 
Comment 3 Tobias Koenig 2009-08-05 16:21:32 UTC
The development of the old KAddressBook will be discontinued for KDE 4.4.
Since the new application has the same name, but a completly new code base we close all bug reports against the old version and ask the submitters to resend there reports against the new product.