When importing ldif data only main address is imported for a given contact, the other addresses get lost. So, addresses with "otherMailbox" tag in source file are ignored. Reproducible: Always Steps to Reproduce: 1.File -> Import -> Import ldif file, select file ldif file and AddressBook 2.Display imported contact, that had multiple email addresses in ldif file 3. Actual Results: Only one address (main) imported Expected Results: All addresses imported This is my test file: dn: cn=John Doe,mail=john_doe@foobar.com cn: John Doe mail: john_doe@foobar.com modifyTimeStamp: 20091027T215509Z otherMailbox: john_doe-1@foobar.com otherMailbox: john_doe-2@foobar.com givenName: John sn: Doe gender: male objectclass: top objectclass: person
OpenSUSE 13.2 KAddressBook 4.14.5
Please provide a test case. Thanks
Created attachment 91610 [details] testcase
Same data as in Description, attached
Created attachment 91612 [details] testcase
Thanks a lot I will test it and investigate it
Git commit 681c68762915d22734865665315fddac6d7e7535 by Montel Laurent. Committed on 18/03/2015 at 07:19. Pushed by mlaurent into branch 'KDE/4.14'. Fix Bug 345281 - importing ldif data fails to get alternate addresses for a given contact FIXED-IN: 4.16.7 M +2 -1 kabc/ldifconverter.cpp http://commits.kde.org/kdepimlibs/681c68762915d22734865665315fddac6d7e7535
It's fixed now. Could you give me info about program which export second email as otherMailbox please .?
The Bat! <https://www.ritlabs.com/en/products/thebat/> (Win mail client) Thank you.
Ok thanks. I created a unittest to validate it so it' s ok now. I fixed import birthday too. They use xbatBirthday as variable. It's ok now too.