Closed Bug 1457108 Opened 6 years ago Closed 4 years ago
Address Book does not read vcard 3
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 Build ID: 20180327185825 Steps to reproduce: Select Tools -> Import... Open file with the following contents: BEGIN:VCARD VERSION:3.0 PRODID:-//Sabre//Sabre VObject 4.1.2//EN UID:a3f9d425-b35c-4779-a9f1-549ad5b65793 FN:First Last N:Last;First;;Mr.; TEL;TYPE=HOME:0100 200 300 TEL;CELL:06 100 2000 EMAIL;TYPE=HOME:firstname.lastname@example.org ADR;TYPE=HOME:;;Street;City;;zip; REV:20180425T110325Z END:VCARD Actual results: Phone number tagged "TEL;TYPE=HOME" is omitted Phone number tagged "TEL;CELL" is correctly read and shown when the contact is selected in the contacts listing. Expected results: In case of a VERSION 3.0 vcard the correct syntax is "TEL;TYPE=HOME". In case of a VERSION 2.1 vcard the correct syntax is "TEL;HOME". Solution: Address Book must consider the vcard VERSION and interpret the appropriate syntax.
Right. Our address book code is very old and we're lucky of 2.1 is interpreted correctly :-( Magnus, something to keep in mind for the rewrite.
Status: UNCONFIRMED → NEW
Type: defect → task
Component: Untriaged → Address Book
Ever confirmed: true
Version: 52 Branch → unspecified
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.