Closed Bug 989909 Opened 11 years ago Closed 11 years ago

vcard Export / Import does not deal with birthday and anniversary

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:1.4+, b2g-v1.4 fixed, b2g-v2.0 fixed)

RESOLVED FIXED
1.4 S5 (11apr)
blocking-b2g 1.4+
Tracking Status
b2g-v1.4 --- fixed
b2g-v2.0 --- fixed

People

(Reporter: jmcf, Assigned: jmcf)

Details

Attachments

(1 file)

No description provided.
blocking-b2g: --- → 1.4?
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
STR: Add a contact with birtday. Export it to SDCArd. Import it. Birthday is lost
Summary: vcard Export / Import does not deal with birthday → vcard Export / Import does not deal with birthday and anniversary
Attached file 17803.html
Attachment #8399294 - Flags: review?(francisco.jordano)
Attachment #8399294 - Flags: feedback?(sergi.mansilla)
The anniversary is a field for vcard format, 4.0 and we are downgrading from that format to 3.0, since our product team looks for more compatibility with android devices. Flagging Sergi for needinfo to check if that will conflicts with the current work on on the downgrading process.
Flags: needinfo?(sergi.mansilla)
cut and dry blocker
blocking-b2g: 1.4? → 1.4+
Target Milestone: --- → 1.4 S5 (11apr)
Even if we don't export to 4.0, importing should work with the birthday field (we do import vCard 4.0), so the changes in `vcard_parser.js` should get into the tree. I made some comments on Github to the patch as well. I think the code in contacts2vcard.js should be commented (and not deleted) as a reminder in case we switch back to vCard 4.0 exporting. What do you think?
Flags: needinfo?(sergi.mansilla)
About the date format, we can either parse the anniversary/birthday fields ourselves or let JS' `Date` try to parse and react to it. In any case, I don't think we should abort an import just because one of these fields is not valid.
Comment on attachment 8399294 [details] 17803.html Please rebase and merge once travis is green. I've tried this branch by itself. Thanks!
Attachment #8399294 - Flags: review?(francisco.jordano) → review+
Sergi, Your comments have been addressed. Please check and provide your f?. I would very grateful if you can do it soon as it is a blocking bug. thanks!
Flags: needinfo?(sergi.mansilla)
Looks good to me, thanks! f+
Flags: needinfo?(sergi.mansilla)
Attachment #8399294 - Flags: feedback?(sergi.mansilla) → feedback+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: