Closed Bug 954969 Opened 11 years ago Closed 10 years ago

"...Conversation undefined" errors on opening/switching tabs

Categories

(Instantbird Graveyard :: Conversation, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: aleth, Unassigned)

Details

*** Original post on bio 1537 at 2012-06-22 15:39:00 UTC ***

I'm not sure what triggered this - no precise STR.

An XMPP conversation tab was open and non-empty. I was switching between tabs and sending messages, i.e. nothing unusual, and noticed something was wrong when the open tab had the red unread flag set despite there being no unread messages, and kept it even when switching between tabs.

Error console:
Timestamp: 06/22/2012 05:26:54 PM
Warning: reference to undefined property tab.linkedConversation
Source File: chrome://instantbird/content/tabbrowser.xml
Line: 774

Timestamp: 06/22/2012 05:26:56 PM
Error: newConversation is undefined
Source File: chrome://instantbird/content/tabbrowser.xml
Line: 222

Timestamp: 06/22/2012 05:27:26 PM
Error: newConversation is undefined
Source File: chrome://instantbird/content/tabbrowser.xml
Line: 222

Timestamp: 06/22/2012 05:27:34 PM
Error: newConversation is undefined
Source File: chrome://instantbird/content/tabbrowser.xml
Line: 222

Timestamp: 06/22/2012 05:28:44 PM
Error: getBrowser().selectedConversation is undefined
Source File: chrome://instantbird/content/instantbird.js
Line: 42

Timestamp: 06/22/2012 05:28:46 PM
Error: getBrowser().selectedConversation is undefined
Source File: chrome://instantbird/content/instantbird.js
Line: 42

Things normalized after new messages arrived.
*** Original post on bio 1537 at 2012-08-06 15:14:32 UTC ***

Now also reproduced this by opening two chats from hold by clicking on both unread counters very quickly. It doesn't happen every time, so there is probably a race condition involved.

Timestamp: 08/06/2012 04:40:20 PM
Error: TypeError: conv is undefined
Source File: chrome://instantbird/content/instantbird.js
Line: 52
Timestamp: 08/06/2012 04:40:21 PM
Error: TypeError: newConversation is undefined
Source File: chrome://instantbird/content/tabbrowser.xml
Line: 227
Timestamp: 08/06/2012 04:40:21 PM
Error: getBrowser().selectedConversation is undefined
Source File: chrome://instantbird/content/instantbird.js
Line: 42
Timestamp: 08/06/2012 04:40:21 PM
Error: getBrowser().selectedConversation is undefined
Source File: chrome://instantbird/content/instantbird.js
Line: 42
...

I wonder if this is the tabbrowser equivalent of bug 954935 (bio 1502) and/or bug 954646 (bio 1214)...
Summary: Conv tab with an "unread" flag that is not cleared properly → "...Conversation undefined" errors on opening/switching tabs
Do you still see that?
Flags: needinfo?(aleth)
Haven't seen this in a long time, and I suspect various tabbrowser changes and fixes around this may have taken care of it.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Flags: needinfo?(aleth)
You need to log in before you can comment on or make changes to this bug.