Closed Bug 813130 Opened 12 years ago Closed 12 years ago

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

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ttaubert, Assigned: ttaubert)

Details

Attachments

(1 file)

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.
Attachment #683121 - Flags: review?(crdlc)
ok for me, jose?
ok
Attachment #683121 - Flags: review?(crdlc) → review+
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+
https://github.com/mozilla-b2g/gaia/commit/d7a2abfe434422ed5c9ed3e5d365cd3953fc34f1
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
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.

Attachment

General

Created:
Updated:
Size: