Closed Bug 7419 Opened 26 years ago Closed 26 years ago

server.prettyName (mailnews) attribute is not working

Categories

(MailNews Core :: Backend, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

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
QA Contact: lchiang → ppandit
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Target Milestone: M7
Actually, I fixed this already.
Status: RESOLVED → REOPENED
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>");
Resolution: FIXED → ---
Status: REOPENED → ASSIGNED
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
Whiteboard: fix in hand
fix ready and waiting to be checked in.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago26 years ago
Resolution: --- → FIXED
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
Status: RESOLVED → VERIFIED
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
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.