Closed
Bug 228502
Opened 21 years ago
Closed 21 years ago
Error ``menulist.selectedItem has no properties'' [xs] in file ``chrome://messenger/content/mailWidgets.xml'', line 1520, character 0.
Categories
(SeaMonkey :: MailNews: Message Display, defect)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.7alpha
People
(Reporter: timeless, Assigned: neil)
Details
Error ``menulist.selectedItem has no properties'' [xs] in file
``chrome://messenger/content/mailWidgets.xml'', line 1520, character 0.
Stopped for error handler.
#0: function initialize(menulist=XULElement:{2}, bundle=XPComponent:{6}) in
<chrome://messenger/content/mailWidgets.xml> line 1520
1518:
1519: // to work around bug #78429
1520: menulist.setAttribute("label", menulist.selectedItem.getAttribute('label'));
1521: ]]>
1522: </body>
0001: menulist["selectedItem"]
$[1] = [null] null
What should the label be?
I cna do if (menulist.selectedItem) but ...
Comment 1•21 years ago
|
||
[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6) Gecko/20040113] (W98SE)
Reproductible testcase:
1. Open MailNews
2. Select a folder
3. Tools > Search Messages...
The error(s) occurs during the dialog load !
{
Error: redeclaration of const MOZILLA_HELP
Source File: chrome://help/content/contextHelp.js
Line: 21
Error: menulist.selectedItem has no properties
Source File: chrome://messenger/content/mailWidgets.xml
Line: 1520
}
(The first error is a "new"(!) testcase for bug 162432 !)
Anyway, I don't know if one of them causes the other, but they do appear together !
Assignee | ||
Comment 2•21 years ago
|
||
I don't see this on either of my trunk builds (1/1 or 19/1)...
Comment 3•21 years ago
|
||
[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6b) Gecko/20031208] (W98SE)
Bug was already there in v1.6b
{
Error: redeclaration of const MOZILLA_HELP
Source File: chrome://help/content/contextHelp.js
Line: 21
Warning: redeclaration of var i
Source File: chrome://messenger/content/mailWidgets.xml
Line: 1002, Column: 21
Source Code:
for (var i=0; i<ids.length; i++)
Error: menulist.selectedItem has no properties
Source File: chrome://messenger/content/mailWidgets.xml
Line: 1520
}
(I'm now in strict warning mode)
Comment 4•21 years ago
|
||
Re comment 2, based on v1.7a nighlies:
Well:
*E-|MOZILLA_HELP| is bug 162432... (as already noted)
*W-|var i| was fixed in bug 228501 ! (but not in v1.6)
*E-|menulist.selectedItem| was fixed in bug 227013 ! (but not in v1.6)
Assignee | ||
Comment 5•21 years ago
|
||
OK so strictly speaking this is a dup of 227013.
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
•