Closed
Bug 7419
Opened 25 years ago
Closed 25 years ago
server.prettyName (mailnews) attribute is not working
Categories
(MailNews Core :: Backend, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
M7
People
(Reporter: ppandit, Assigned: alecf)
Details
(Whiteboard: fix in hand)
When making the following call from JavaScript, the prettyname attribute fails. var server = account.incomingServer; dump("Got the server: " + server.prettyName + "\n"); The console says: JavaScript error: uncaught exception: Component returned failure code: 0x8000fff f [nsIMsgIncomingServer.prettyName, {file: file:///D|/ns/tools/qa/mailnews/tests pecs/seamonkey/whitebox_tests/alec_test.html, line: 27}] Par
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Target Milestone: M7
Assignee | ||
Comment 1•25 years ago
|
||
Actually, I fixed this already.
prettyName does not display any string (see code below). Using a debug build from June 7 var server = account.incomingServer; dump("Got the server: " + server.hostnameName + "\n"); document.write("<font size=+1>Got the server" + "</font> <br>"); document.write("<blockquote><font size=+1>Displaying server.hostnameName ==>" + server.hostName + "</font><br>"); dump("Got the server: " + server.prettyName + "\n"); document.write("<font size=+1>Got the server" + "</font> <br>"); document.write("<blockquote><font size=+1>Displaying server.prettyName ==>" + server.prettyName + "</font><br>");
Assignee | ||
Updated•25 years ago
|
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 3•25 years ago
|
||
oh you're right - what I fixed was the JS exception that it was causing, this should return the hostname if there is no prettyname
Assignee | ||
Updated•25 years ago
|
Whiteboard: fix in hand
Assignee | ||
Comment 4•25 years ago
|
||
fix ready and waiting to be checked in.
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•25 years ago
|
||
Fix checked in.
Using debug build from 6/21/99: I am still not seeing the prettyName displayed in my testcase. I'll show it to Alec. Par
Tested using debug build from 10/28 on Windows NT. Loaded http://bubblegum/NGDriver/suites/mail/mncompose004.html Looked in DOS debug window and saw: Server Type is none Pretty name is Local Mail Username name is nobody Server URI is mailbox://nobody@Local Mail Hostname is Local Mail VERIFIED
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•