TypeError: devContact is undefined in app://communications.gaiamobile.org/contacts/js/fb/fb_contact_utils.js

VERIFIED FIXED

Status

VERIFIED FIXED
6 years ago
6 years ago

People

(Reporter: ttaubert, Assigned: ttaubert)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
STR:

1) Open the contacts app
2) Click '+' to create a new contact
3) Press 'home' to return to homescreen
4) Open the contacts app again

A couple of errors are now popping up because they don't expect the contact to be empty/not-yet-created.
(Assignee)

Comment 1

6 years ago
Created attachment 683121 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/6498

Pointer to Github pull-request
(Assignee)

Updated

6 years ago
Attachment #683121 - Flags: review?(crdlc)
ok for me, jose?

Comment 3

6 years ago
ok
Attachment #683121 - Flags: review?(crdlc) → review+
(Assignee)

Comment 4

6 years ago
Comment on attachment 683121 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/6498

Small patch that fixes access to an undefined variable.
Attachment #683121 - Flags: approval-gaia-master?(21)
Attachment #683121 - Flags: approval-gaia-master?(21) → approval-gaia-master?(francisco.jordano)
Attachment #683121 - Flags: approval-gaia-master?(francisco.jordano) → approval-gaia-master+
(Assignee)

Comment 5

6 years ago
https://github.com/mozilla-b2g/gaia/commit/d7a2abfe434422ed5c9ed3e5d365cd3953fc34f1
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED

Comment 6

6 years ago
This issue does not reproduce on Unagi, Build ID:20130113070202

Exiting the "Add contact" page by selecting "Home" button and selecting a Contacts app again, brings user back to the "Add contact" page. No errors occur.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.