[Rtcomm] [Rtcomm] [Bug 7094] New: contacts import: treat newlines as separator between different phone numbers

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Fri Dec 18 02:32:15 EET 2009
https://bugs.maemo.org/show_bug.cgi?id=7094

           Summary: contacts import: treat newlines as separator between
                    different phone numbers
           Product: Contacts
           Version: unspecified
          Platform: All
        OS/Version: Maemo
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unspecified
         Component: General
        AssignedTo: nobody at maemo.org
        ReportedBy: lionel at mamane.lu
         QAContact: contacts-bugs at maemo.bugs


When importing contacts (e.g. from a vCard/VCF file), please treat newlines as
separators between phone numbers. That is, when the "mobile" phone number is
e.g. "+316123456789\n+32477123456", don't import as _one_ phone number
containing the newline, but import as _two_ "mobile" phone number fields,
containing respectively "+316123456789" and "+32477123456".

Use case (aka what do we gain from that):
"it just works" import from PalmOS devices contacts. Separating phone numbers
of the same type by newlines is the standard PalmOS way of handling the
situation (it has a fixed number of phone number fields; maemo has a variable
(unbounded?) number of them so can handle that more cleanly with multiple
fields); on a Treo smartphone, these newline-separated numbers are displayed as
separate phone numbers when one wants to do a call, one selects one of them. In
the current situation, these contacts imported (via vcf file exported from Palm
Desktop) make it impossible to make a call: the concatenation of the several
numbers is considered as number to call and the phone application complains
that the number is invalid.

What do we lose:
I expect very little, if anything. It seems extremely unlikely to me that a
phone number would legitimately contain newlines.


EXACT STEPS LEADING TO PROBLEM: 
1. Export contacts from Palm Desktop application as VCF
2. Copy the vcf file to N900
3. Import VCF file into N900 contacts
4. Try to call any number from any contact where the PalmOS device had several
numbers listed in the same field.

EXPECTED OUTCOME:
Numbers displayed as separate choices, one chooses one to call.

ACTUAL OUTCOME:
Only one choice shown, the concatenation of the phone numbers; one can only
call the concatenation of the phone numbers, which is (usually) not a valid
phone number, and even if it were, not the one one wishes to call.

REPRODUCIBILITY:
always

EXTRA SOFTWARE INSTALLED:
none


-- 
Configure bugmail: https://bugs.maemo.org/userprefs.cgi?tab=email
Replies to this email are NOT read, instead please add comments at
https://bugs.maemo.org/show_bug.cgi?id=7094
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the Rtcomm mailing list