Closed Bug 1178241 Opened 9 years ago Closed 9 years ago

[vCard] 'undefined' is displayed when a field exist but there's no value in it

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.5+, b2g-master verified)

VERIFIED FIXED
FxOS-S4 (07Aug)
blocking-b2g 2.5+
Tracking Status
b2g-master --- verified

People

(Reporter: jlorenzo, Assigned: arcturus)

References

Details

(Keywords: foxfood)

Attachments

(6 files)

Attached file sample.vcf
STR
1. Put the attached vcard on your device
2. Import it.
3. See the contact list

Results
The displayed company is 'undefined' instead of having no company. The vCard is not common, it shows:
> ORG:;

This seems like an edge case, but in real life, this happened to me with Fastmail. They do export contacts with ORG but without filling it. And per the specs[1], it seems okay to do so.

[1] https://tools.ietf.org/html/rfc6350#section-6.6.4
[Blocking Requested - why for this release]: We have likely lived with this issue for multiple releases. However, having a list of contacts filled with 'undefined' everywhere will hurt the first user experience, and as said above, this happens with at least one of the major email provider.
blocking-b2g: --- → 2.5?
See Also: → 1178418
Comms triage: Agreed to follow the specs.
blocking-b2g: 2.5? → 2.5+
QA Whiteboard: [foxfood-triage]
Assignee: nobody → francisco
Status: NEW → ASSIGNED
Attached file Pointer to pr
Attachment #8638709 - Flags: review?(borja.bugzilla)
Attachment #8638709 - Flags: review?(borja.bugzilla) → review+
Landed:

https://github.com/mozilla-b2g/gaia/commit/74b3468bf3ec58140179e971d4b989e189e7ed49
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S4 (07Aug)
GU7 is perma-failing because of this patch. Could you please take a look and reland? Thanks!

backout: https://github.com/mozilla-b2g/gaia/commit/b57e9a0b5aee45f80d1ee8bfe69625ab4db20b5c
Status: RESOLVED → REOPENED
Flags: needinfo?(francisco)
Resolution: FIXED → ---
Comment on attachment 8643665 [details] [review]
[gaia] arcturus:bug-1178241 > mozilla-b2g:master

Carrying over the r+ since this just fixes the tests.
Attachment #8643665 - Flags: review+
Landed:

https://github.com/mozilla-b2g/gaia/commit/2a3160f6c72c04fe5dddab4bb10af46d1493a59d
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → FIXED
This bug has been verified as "pass" on the latest build of Flame KK 2.5 and Aires KK 2.5 by the STR in comment 0.

Actual results: "undefined" is not displayed when a field exist but there's no value in it. 
See attachment: verified_Flame_v2.5.3gp
Reproduce rate: 0/10


Device: Flame KK 2.5 (Pass)
Build ID               20150810150206
Gaia Revision          9a8880a95ee4a4aea7895d4e2bcab31bc49ea281
Gaia Date              2015-08-10 16:01:11
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/8cba870a352c
Gecko Version          43.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150810.183734
Firmware Date          Mon Aug 10 18:37:46 EDT 2015
Firmware Version       v18D v4
Bootloader             L1TC000118D0

Device: Aries KK 2.5(Pass)
Build ID               20150810201912
Gaia Revision          fa89e03dc489e79baa0e74cb1d205260c7924caa
Gaia Date              2015-08-10 10:07:57
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/3f135a8ead22
Gecko Version          43.0a1
Device Name            aries
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.worker.20150810.194258
Firmware Date          Mon Aug 10 19:43:05 UTC 2015
Bootloader             s1
Status: RESOLVED → VERIFIED
QA Whiteboard: [foxfood-triage] → [foxfood-triage][MGSEI-Triage+]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: