Closed Bug 954600 Opened 10 years ago Closed 10 years ago

Error when message style looks for buddy icon (Regression)

Categories

(Chat Core :: General, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aleth, Assigned: florian)

References

Details

*** Original post on bio 1168 at 2011-11-14 22:07:00 UTC ***

Error: aMsg.conversation.account.statusInfo is undefined
Source File: resource:///modules/imThemes.jsm
Line: 428

This line is: let iconURL = aMsg.iconURL;

To reproduce: select Minimal 2 message style (or probably any other message style that makes use of buddy icons) from Preferences -> Themes. Note preview window remains blank.

Error not present in IB 1.1. Probably a regression from recent refactoring.
*** Original post on bio 1168 at 2011-11-14 22:20:29 UTC ***

It seems that when a buddy actually _has_ an icon, there is no error.
Blocks: 954193
*** Original post on bio 1168 at 2011-11-15 18:53:49 UTC ***

I've fixed the message style preview in: https://hg.instantbird.org/instantbird/rev/b4d86b27b180

If you find different steps to reproduce, please file a new bug.
Assignee: nobody → florian
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.2
You need to log in before you can comment on or make changes to this bug.