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
I get this too. At some point I also got a hard error, I don't have the line number handy though.
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.
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))
Created attachment 609299 [details] [diff] [review] Patch 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 ;)).
Comment on attachment 609299 [details] [diff] [review] Patch A quiet console is a happy console! Thanks!
Thanks for the quick review! http://hg.mozilla.org/comm-central/rev/5db117e65316