Closed Bug 779836 Opened 13 years ago Closed 13 years ago

Cannot connect to irc.mozilla.org if there are auto-joined channels defined

Categories

(Thunderbird :: Instant Messaging, defect)

15 Branch
x86
Windows 7
defect
Not set
normal

Tracking

(thunderbird15+ fixed, thunderbird16+ fixed)

RESOLVED FIXED
Thunderbird 16.0
Tracking Status
thunderbird15 + fixed
thunderbird16 + fixed

People

(Reporter: mconley, Assigned: clokep)

Details

Attachments

(1 file, 1 obsolete file)

STR: 1) Create an IRC account connecting to irc.mozilla.org, and add an auto-joined channel, like #maildev. 2) Try to connect the account What happens? The "Connecting" account activity indicator just keeps spinning in the "Instant messaging status" window, and I get the following errors in the error console: Timestamp: 02/08/2012 9:37:03 AM Error: Error running command 001 with handler RFC 2812: {"rawMessage":":concrete.mozilla.org 001 mconleyTB :Welcome to the Mozilla IRC Network mconleyTB!Thunderbir@66.207.208.98","command":"001","params":["mconleyTB","Welcome to the Mozilla IRC Network mconleyTB!Thunderbir@66.207.208.98"],"servername":"concrete.mozilla.org"} Source Code: irc Timestamp: 02/08/2012 9:37:03 AM Error: [Exception... "'[JavaScript Error: "channel is not defined" {file: "resource:///components/irc.js" line: 901}]' when calling method: [prplIAccount::joinChat]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: resource:///components/imAccounts.js :: <TOP_LEVEL> :: line 658" data: yes] Source File: resource:///modules/ircHandlers.jsm Line: 102 What's expected? I should connect. So far, I'm only seeing this in TB 15 beta. I'll try Earlybird next.
This problem affects TB 15 and TB 16. Daily does not appear to be affected.
So it looks like https://hg.mozilla.org/releases/comm-beta/rev/7b51c0455855 (https://hg.mozilla.org/comm-central/rev/f0160c7f11c9) actually depending on a previous landing (https://hg.mozilla.org/comm-central/rev/f03b55eda4ce), which did NOT land on comm-beta. I'm spinning up a patch now.
Attached patch Patch v1 (untested) (obsolete) — Splinter Review
This is untested: I don't have comm-central/beta installed or the source available or a way to build it currently. The fix is fairly trivial though.
Assignee: nobody → clokep
Status: NEW → ASSIGNED
Attachment #648338 - Flags: review?(mconley)
Comment on attachment 648338 [details] [diff] [review] Patch v1 (untested) I can confirm that this fixes the bug. Your patch, however, has Windows style line endings. I'll upload a fixed patch.
Attachment #648338 - Flags: review?(mconley) → review+
Patch with better line endings.
Attachment #648338 - Attachment is obsolete: true
Attachment #648383 - Flags: review+
Attachment #648383 - Flags: approval-comm-beta?
Attachment #648383 - Flags: approval-comm-aurora?
Attachment #648383 - Flags: approval-comm-beta?
Attachment #648383 - Flags: approval-comm-beta+
Attachment #648383 - Flags: approval-comm-aurora?
Attachment #648383 - Flags: approval-comm-aurora+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 16.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: