Closed
Bug 373573
Opened 19 years ago
Closed 16 years ago
SMTP server dropdown doesn't play nicely with Use Default Server
Categories
(MailNews Core :: Account Manager, defect)
MailNews Core
Account Manager
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0rc1
People
(Reporter: rod.whiteley, Assigned: mkmelin)
Details
Attachments
(1 file, 2 obsolete files)
4.32 KB,
patch
|
mkmelin
:
review+
mkmelin
:
superreview+
standard8
:
approval-thunderbird3+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
Build Identifier: Thunderbird 2.0pre (20070311)
In the Identity Settings dialog for a default identity, changing the Outgoing Server (SMTP) choice appears to have no effect. This is because the change is not picked up by the Account Settings dialog, so that pressing OK there backs out the change.
Reproducible: Always
Steps to Reproduce:
1. Go to Account Settings.
2. Ensure that the Outgoing Server (SMTP) page lists more than one server.
3. Select an account, press its Manage Identities... button, select the account's default identity, press the Edit... button.
4. In the Identity Settings dialog, change the Outgoing Server (SMTP) choice, and press OK to close the dialog.
5. Press OK to close the Identities for [account] dialog.
6. Press OK to close the Account Settings.
Actual Results:
The SMTP server does not change.
Expected Results:
The SMTP server should change to the server you selected.
This appears to happen because in am-identity-edit.js, the function initIdentityValues does not initialize the SMTP server field. Adding the following line to the end of that function seems to cure the problem:
document.getElementById('identity.smtpServerKey').value = identity.smtpServerKey;
Assignee | ||
Comment 1•19 years ago
|
||
WFM on Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3pre) Gecko/20070312 Thunderbird/2.0pre ID:2007031203
Comment 2•19 years ago
|
||
This WFM too, and has every time I've tried to reproduce it over the last two years; but there are a number of people who see this.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Comment 3•19 years ago
|
||
Sorry, I'm an idiot; that comment was intended for a different bug.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Comment 4•19 years ago
|
||
*This* bug, I can reproduce. Good catch!
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 98 → All
Hardware: PC → All
Version: unspecified → 2.0
![]() |
||
Updated•18 years ago
|
Target Milestone: --- → Thunderbird 3
![]() |
||
Comment 5•18 years ago
|
||
![]() |
||
Updated•18 years ago
|
Attachment #276971 -
Attachment is patch: true
Attachment #276971 -
Attachment mime type: application/octet-stream → text/plain
Attachment #276971 -
Flags: superreview?
Attachment #276971 -
Flags: review?
Attachment #276971 -
Flags: approval1.9?
Attachment #276971 -
Flags: approval1.8.1.7?
Attachment #276971 -
Flags: approval1.8.0.14?
Attachment #276971 -
Flags: approval1.8.0.13?
Attachment #276971 -
Flags: approval-thunderbird3?
Attachment #276971 -
Flags: approval-thunderbird2?
Comment on attachment 276971 [details]
random unrelated crap
Please don't abuse bugzilla flags.
Attachment #276971 -
Flags: superreview?
Attachment #276971 -
Flags: review?
Attachment #276971 -
Flags: approval1.9?
Attachment #276971 -
Flags: approval1.8.1.7?
Attachment #276971 -
Flags: approval1.8.0.14?
Attachment #276971 -
Flags: approval1.8.0.13?
Attachment #276971 -
Flags: approval-thunderbird3?
Attachment #276971 -
Flags: approval-thunderbird2?
Updated•18 years ago
|
Attachment #276971 -
Attachment description: bugzilla attachment → random unrelated crap
Attachment #276971 -
Attachment is obsolete: true
Attachment #276971 -
Attachment is patch: false
Updated•17 years ago
|
Assignee: mscott → nobody
Assignee | ||
Comment 7•16 years ago
|
||
The original symptoms have changed. Now if you set "Use Default", you will get a very thin dropdown.
Summary: Cannot set default identity's SMTP server in Identity Settings dialog → SMTP server dropdown doesn't play nicely with Use Default Server
Assignee | ||
Updated•16 years ago
|
Product: Thunderbird → MailNews Core
QA Contact: account-manager → account-manager
Target Milestone: Thunderbird 3 → ---
Version: 2.0 → Trunk
Assignee | ||
Comment 8•16 years ago
|
||
Make Use Default work.
(redirectorType is long gone)
Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED
Attachment #398949 -
Flags: superreview?(neil)
Attachment #398949 -
Flags: review?(mnyromyr)
Comment 9•16 years ago
|
||
Comment on attachment 398949 [details] [diff] [review]
proposed fix
> function loadSMTPServerList()
> {
>- var smtpService = Components.classes["@mozilla.org/messengercompose/smtp;1"].getService(Components.interfaces.nsISmtpService);
>- fillSmtpServers(document.getElementById('identity.smtpServerKey'), smtpService.smtpServers, smtpService.defaultServer);
>+ var smtpService = Components.classes["@mozilla.org/messengercompose/smtp;1"]
>+ .getService(Components.interfaces.nsISmtpService);
>+ fillSmtpServers(document.getElementById("identity.smtpServerKey"),
>+ smtpService.smtpServers, smtpService.defaultServer);
> }
>
> function fillSmtpServers(smtpServerList, servers, defaultServer)
> {
Bah, we can't share this with am-smtp.js due to global scope "pollution" :-(
Attachment #398949 -
Flags: superreview?(neil) → superreview+
Comment 10•16 years ago
|
||
Comment on attachment 398949 [details] [diff] [review]
proposed fix
>+ fillSmtpServers(document.getElementById("identity.smtpServerKey"),
>+ smtpService.smtpServers, smtpService.defaultServer);
> }
>
> function fillSmtpServers(smtpServerList, servers, defaultServer)
If we have only one caller and can't share the function anyway, what's the point of having a separate fillSmtpServers at all?
If you can't imagine one either, just kill it. ;-)
Attachment #398949 -
Flags: review?(mnyromyr) → review+
Assignee | ||
Comment 11•16 years ago
|
||
Carrying forward r=mnyromyr, sr=neil
Attachment #398949 -
Attachment is obsolete: true
Attachment #401255 -
Flags: superreview+
Attachment #401255 -
Flags: review+
Attachment #401255 -
Flags: approval-thunderbird3?
Assignee | ||
Updated•16 years ago
|
Target Milestone: --- → Thunderbird 3.0rc1
Updated•16 years ago
|
Attachment #401255 -
Flags: approval-thunderbird3? → approval-thunderbird3+
Assignee | ||
Comment 12•16 years ago
|
||
changeset: 3838:c9b5c02830e5
http://hg.mozilla.org/comm-central/index.cgi/rev/c9b5c02830e5
->FIXED
Status: ASSIGNED → RESOLVED
Closed: 19 years ago → 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•