Closed
Bug 282495
Opened 21 years ago
Closed 20 years ago
The /list command fails
Categories
(Other Applications Graveyard :: ChatZilla, defect)
Other Applications Graveyard
ChatZilla
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Jim_Razmus, Assigned: bugzilla-mozilla-20000923)
Details
(Whiteboard: [cz-0.9.68])
Attachments
(1 file)
2.59 KB,
patch
|
samuel
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Connected to ircd version 2.10.3p1 on OpenBSD 3.6. Submitting the /list command
returns nothing even though 30+ channels exist and are visible via /list on
other clients. Chatzilla 0.9.66 did not have this problem. Confirmed this
behavior by upgrading a working 0.9.66 client to 0.9.67 and submitting /list
command.
Reproducible: Always
Steps to Reproduce:
1. connect to an irc server and submit /list command
2. upgrade 0.9.67
3. connect to an irc server and submit /list command again
Actual Results:
/list no longer returns and results. Nor does the "Join Channel" dialogue box.
Expected Results:
list all channels on the irc server
Worked backwards from 0.9.67 testing all revisions to see where the /list
command stopped working. 0.9.66e, d, c, b, and a all had the same bug.
However, after reinstalling 0.9.66, the /list command worked as expected. So
something changed between 0.9.66 and 0.9.66a that broke the /list command for me.
Assignee | ||
Comment 2•20 years ago
|
||
I see no way to debug this without a server to connect to and debug on.
Comment 3•20 years ago
|
||
Using about:config, set the following pref to true:
javascript.options.showInConsole
Try the /list again and see if there are any chatzilla-related errors in the JS
console.
Assignee | ||
Comment 4•20 years ago
|
||
Ok, thanks to the dump of the _list object I've worked it out.
See
http://lxr.mozilla.org/mozilla/source/extensions/irc/xul/content/handlers.js#1248
That checks for _list and _list.done to exist.
http://lxr.mozilla.org/mozilla/source/extensions/irc/xul/content/handlers.js#1116
sets done when starting, thus for servers that don't send a LIST header you get
this problem (apparently almost no servers do this).
Working on a better check...
Assignee | ||
Comment 5•20 years ago
|
||
This also tweaks some other code to not bother checking if some properties
exist, as the four (string, regexp, done and count) are gurenteed to always be
set on _list.
Assignee | ||
Updated•20 years ago
|
Assignee | ||
Comment 6•20 years ago
|
||
/me slaps BugZilla
Updated•20 years ago
|
Attachment #174743 -
Flags: review?(samuel) → review+
Updated•20 years ago
|
OS: Windows XP → All
Hardware: PC → All
Assignee | ||
Comment 7•20 years ago
|
||
Checked in --> FIXED.
In approximately 12 minutes a build with this fix will be available from:
http://twpol.dyndns.org/mozilla/chatzilla/nightly/
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
FIXED!!!! Thanks!!!!
I confirmed both the /list command on the server view as well as the "join
channel" dialogue box. Both work correctly.
I should have mentioned that I tested
http://twpol.dyndns.org/mozilla/chatzilla/nightly/xpi/chatzilla-0.9.67-2005021921.xpi
Thanks again.
Assignee | ||
Updated•20 years ago
|
Whiteboard: [cz-0.9.68]
Updated•4 months ago
|
Product: Other Applications → Other Applications Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•