Closed Bug 893719 Opened 12 years ago Closed 12 years ago

[SD card] Vcard parser should deal with the case: number of contacts is zero

Categories

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

x86
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:leo+, b2g18 fixed, b2g-v1.1hd fixed)

RESOLVED FIXED
blocking-b2g leo+
Tracking Status
b2g18 --- fixed
b2g-v1.1hd --- fixed

People

(Reporter: crdlc, Assigned: crdlc)

Details

(Whiteboard: [LeoVB+])

Attachments

(1 file)

I've found some cases where the vcard_parser library after parsing has 0 contacts to import so the overlay is not hidden
Assignee: nobody → crdlc
Status: NEW → ASSIGNED
Attached file Patch v1
Attachment #775583 - Flags: review?(sergi.mansilla)
Comment on attachment 775583 [details] Patch v1 Looks goot to merge. r+
Attachment #775583 - Flags: review?(sergi.mansilla) → review+
And by 'goot', I mean good.
Merged at be526e2381cdc62dc50b7203385a4650aefd40a7
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
blocking-b2g: --- → leo?
leo? requested because in case no contacts are importable in the memory card, the import dialog gets stuck. Pretty low risk and important.
(In reply to Sergi Mansilla from comment #5) > leo? requested because in case no contacts are importable in the memory > card, the import dialog gets stuck. Pretty low risk and important. Please describe what you mean by "stuck". Thanks!
He means frozen, it is not hidden anymore, just killing contacts app
Triage - Leo will take this based on comments 5 and 7. :crdlc - can you check also if this is related to Bug 893411
blocking-b2g: leo? → leo+
Flags: needinfo?(crdlc)
Umm interesting, could be, because if vcard_parser library parses and detects some error like non ascii characters or whatever, the result could be zero and the curtain will never hide. I detected it when I tried to import my personal vcard bad formed. Ask to someone to test this patch maybe we can kill two birds with one stone ;) I don't know actually if this expression exists in English jejeje, I mean, one fix for two bugs. Thanks
Flags: needinfo?(crdlc)
I was not able to uplift this bug to v1-train. If this bug has dependencies which are not marked in this bug, please comment on this bug. If this bug depends on patches that aren't approved for v1-train, we need to re-evaluate the approval. Otherwise, if this is just a merge conflict, you might be able to resolve it with: git checkout v1-train git cherry-pick -x -m1 be526e2381cdc62dc50b7203385a4650aefd40a7 <RESOLVE MERGE CONFLICTS> git commit
Flags: needinfo?(crdlc)
v1.1.0hd: 55533c667ed78ba05e0b9616d48043b33308a2c5
Whiteboard: [LeoVB+]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: