Closed
Bug 517168
Opened 15 years ago
Closed 12 years ago
When there is no profile/emails yet gloda send warnings in the console (Gloda.myContact is null)
Categories
(Thunderbird :: Search, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 14.0
People
(Reporter: Usul, Assigned: florian)
References
Details
(Keywords: calendar-integration)
Attachments
(1 file)
1.04 KB,
patch
|
asuth
:
review+
|
Details | Diff | Splinter Review |
On first startup with an empty profile I get this in the Error console : 2009-09-17 10:35:20 gloda.ds.qfq ERROR Exception: TypeError: Gloda.myContact is null
Updated•15 years ago
|
Component: General → Search
QA Contact: general → search
Updated•15 years ago
|
Summary: When there is no profile/emails yet gloda send warnings in the console → When there is no profile/emails yet gloda send warnings in the console (Gloda.myContact is null)
Comment 1•15 years ago
|
||
I get this too. At some point I also got a hard error, I don't have the line number handy though.
Comment 2•13 years ago
|
||
In light of work on bug 485268 it would be nice if Thunderbird could also work without issues if there is no mail account. If Lightning has a way to extend the TB new account dialog (or at least a way to not show it), then we would be a step closer to being able to provide calendar-only UI if there is a calendar but no mail account.
Keywords: calendar-integration
Assignee | ||
Comment 3•12 years ago
|
||
The location of the error is: Error: Gloda.myContact is null Source File: file:///.../DailyDebug.app/Contents/MacOS/components/glautocomp.js Line: 286 The blamed line is: if (!(Gloda.myContact.id in this.contactCollection._idMap))
Assignee | ||
Comment 4•12 years ago
|
||
I've only added a null check without trying to understand the surrounding code so this may be wrong, but at least it silences the error (I dislike noise in my error console ;)).
Assignee: nobody → florian
Attachment #609299 -
Flags: review?(bugmail)
Comment 5•12 years ago
|
||
Comment on attachment 609299 [details] [diff] [review] Patch A quiet console is a happy console! Thanks!
Attachment #609299 -
Flags: review?(bugmail) → review+
Assignee | ||
Comment 6•12 years ago
|
||
Thanks for the quick review! http://hg.mozilla.org/comm-central/rev/5db117e65316
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 14.0
You need to log in
before you can comment on or make changes to this bug.
Description
•