Closed
Bug 147842
Opened 22 years ago
Closed 22 years ago
Error: gDownloadView.treeBoxObject.selection has no properties
Categories
(SeaMonkey :: Download & File Handling, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 132019
People
(Reporter: brant, Assigned: janv)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0+)
Gecko/20020528
BuildID: 2002052809
There is a an Error: gDownloadView.treeBoxObject.selection has no properties
error in the JavaScript Console when I open the Download Manager.
Reproducible: Always
Steps to Reproduce:
1. Open the Download Manager.
Actual Results: An error appears in the JavaScript console:
Error: gDownloadView.treeBoxObject.selection has no properties
Source File: chrome://communicator/content/downloadmanager/downloadmanager.js
Line: 126
Expected Results: There should be no error.
There are some other errors also:
Error: minValue is not defined
Source File: chrome://communicator/content/downloadmanager/downloadmanager.js
Line: 224
Error: gDownloadView.view has no properties
Source File: chrome://communicator/content/downloadmanager/downloadmanager.js
Line: 93
Assignee | ||
Comment 1•22 years ago
|
||
Do you see this on trunk too?
Comment 2•22 years ago
|
||
As far as I remember the code at this line where "your" error occured tries to
see whether there are some / is one selected item to enable/disable the
"Buttons" (Properties, Start, Stop). I guess you don't have any items in
downloadmanager and so there is no selection(-object), because it's only created
when something is in the tree (the list of the DM is actually a tree-object).
Maybe this error occurs also when you just didn't select something. Basically
there should be a check if the selection-object exists before accessing it.
However I think this bug isn't too bad because the exception is handled
invisible for normal users. I'd like to improve the DM but I have some exams in
Biophysics 'till mid of July. After this I'll start (again) and hopefully
produce some patches.
(Starting programming Moz is quite hard because of the outdated and missing docs)
Reporter | ||
Comment 3•22 years ago
|
||
It is definitely occuring when buttons are pressed with nothing in the list.
That can be used to reproduce the problem.
Comment 4•22 years ago
|
||
OS->All, because I see this on Linux too.
If I open the download manger I instantly get about 15 of the
gDownloadView.treeBoxObject.selection warnings. This is making the JavaScript
console less useful since this clutters it up.
OS: Windows XP → All
Comment 5•22 years ago
|
||
Every time I move focus to something else and then back to the DM this error is
printed like 10-15 times. I guess it's relevant that this happens when the DM is
empty.
Comment 7•22 years ago
|
||
Is this bug going to cover the "gDownloadView.treeBoxObject.selection" only, or
will it also address the "minValue is not defined" as reported by Brant?
Assignee | ||
Comment 8•22 years ago
|
||
Nominating for buffy.
Let's fix this JS errors.
Comment 9•22 years ago
|
||
Nav triage team: how does affect the end-user? Does this cause perceived loss
of functionality?
Assignee | ||
Comment 10•22 years ago
|
||
When I remove last downloaded item from list in download manager, "Remove from
List" and "Show in browser" buttons stay enabled.
But I don't think this causes a loss of functionality.
Comment 12•22 years ago
|
||
To answer my own question in Comment #7, the current patch for Bug #132019 will
fix the minValue problem. In fact, from a closer look at that patch, I beleive
it will fix this bug completely. As such, I'm marking this as a dup of Bug #132019.
You know what to do if I'm horribly wrong....
*** This bug has been marked as a duplicate of 132019 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Comment 13•22 years ago
|
||
marking verified as a duplicate.
if you decide to reopen this bug, please clarify why.
search string for bugspam removal: SalviaGuaranitica
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•