Closed Bug 1031695 Opened 10 years ago Closed 10 years ago

[Contacts] Detail view not working in contacts when running in Firefox desktop

Categories

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

x86
macOS
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: arcturus, Assigned: theachalaggarwal, Mentored)

Details

(Whiteboard: [good first bug])

Attachments

(1 file)

Right now we have the following js error, probably cause of the lack of support:

NS_ERROR_FILE_NOT_FOUND:  details.js:685
TypeError: telephony.conferenceGroup is undefined telephony_helper.js:245

We should avoid to throw that error and continue working on desktop
Whiteboard: [good first bug]
Do we need to suppress the error by checking for undefined and return null or try to fix the issue?
I am not able to reproduce this bug.
Flags: needinfo?(francisco)
Hi Vikas,

I've tried this again and you are right, is not reproducible anymore, will close it as worksforme.

Thanks folks for helping out!
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(francisco)
Resolution: --- → FIXED
I am still getting this TypeError: telephony.conferenceGroup is undefined telephony_helper.js:245 error.

To be specific I got this in my console.
JavaScript error: app://communications.gaiamobile.org/dialer/js/telephony_helper.js, line 266: telephony.conferenceGroup is undefined
(In reply to Achal from comment #4)
> I am still getting this TypeError: telephony.conferenceGroup is undefined
> telephony_helper.js:245 error.
> 
> To be specific I got this in my console.
> JavaScript error:
> app://communications.gaiamobile.org/dialer/js/telephony_helper.js, line 266:
> telephony.conferenceGroup is undefined

Hi!

thanks for the info, I'll open a new bug to track that specific problem.

Would you like to help to fix it?
Sorry,

actually is the same bug, so will reopen this one.

Thanks!
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Hi Francisco,

I would like to work on this bug. I may need some help, so can you mentor me?
Sure Achal!

It will be a pleasure, I would start on the telephony_helper.js file, doing a check of conferenceGroup in the telephony object.
Hi Francisco, I have added a PR. Please review it.
Comment on attachment 8482370 [details] [review]
PR to add condition to check telephony.conferenceGroup is undefined

Redirecting the review to a dialer peer, since this helper was created by then.
Attachment #8482370 - Flags: review?(anthony)
Attachment #8482370 - Flags: review?(anthony) → review+
Thanks!

Can you just modify your commit message to "Bug 1031695 - [Contacts] Detail view not working in contacts when running in Firefox desktop." ? Thanks!
Assignee: nobody → theachalaggarwal
Hi Anthony, thanks for reviewing it. I have modified the commit message.
And this is merged: https://github.com/mozilla-b2g/gaia/commit/e8397125486cf44c84c0cb9ff8ae26195c741343.
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
Thanks Anthony & Francisco for helping me fixing and merging this bug patch. BTW this is my first bug patch that went all the way to the repo. Thanks for your support.
Haha, I loved his expression, HELL YEAAHH...
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: