Closed Bug 132948 Opened 22 years ago Closed 22 years ago

Add a second IMAP/POP account & a duplicate SMTP server appears in the SMTP list

Categories

(SeaMonkey :: MailNews: Account Configuration, defect)

All
Windows 95
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.3beta

People

(Reporter: nbaca, Assigned: neil)

References

Details

(Whiteboard: [adt2])

Attachments

(1 file)

Trunk build 2002-03-22: WinMe, Mac 10.1.3
haven't tried linux yet.

Overview: Adding a second account, unnecessarily adds a duplicate SMTP server to 
the list in the Advanced Outgoing Server dialog.

Steps to reproduce:
1. New profile
2. Add an IMAP (or POP) account (i.e. nsmail-1)
3. Open Account Settings, and go to the Outgoing SMTP Server panel, select the 
Advanced button and notice it lists one smtp server "nsmail-1 (Default)"
4. Add another IMAP (or POP) account
5. Open Account Settings, and go to the Outgoing SMTP Server panel, select the 
Advanced button.

Actual Results: Another smpt server entry appears:

- nsmail-1
- nsmail-1 (Default)

Each time another POP/IMAP server is added then another smtp server is added, 
unnecessarily.

Expected Results: Adding another POP/IMAP server should not add a duplicate smtp 
server. It should appear once:
- nsmail-1 (Default)
see http://bugzilla.mozilla.org/show_bug.cgi?id=141314 and 

bugscape bug #14240 and http://bugscape.netscape.com/show_bug.cgi?id=14240#c17

I think this problem might be caused by the cloning we do of the smtp server in
verifyAccounts() in AccountWizard.js
dupe of bug 96207, no ?
*** Bug 158100 has been marked as a duplicate of this bug. ***
reassigning to varada.
Assignee: racham → varada
Keywords: nsbeta1+
Whiteboard: [adt2]
Confirm present in 1.2b on Windows.
taking all of varada's bugs.
Assignee: varada → sspitzer

*** This bug has been marked as a duplicate of 96207 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Attached patch Proposed patchSplinter Review
With luck, this won't conflict with bug 141314, but I can't be sure (bugscape).
re-opening, to see if this is really a dup or not. (And to evaluate neil's patch)
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
re-assign to neil.

I've reviewed and tested his patch.

r/sr=sspitzer

note to QA, when testing, consider the scenario where the first (and second etc)
accounts are news accounts.
Assignee: sspitzer → neil
Status: REOPENED → NEW
landed for neil.  marking as fixed.

we should still investigate the varada code that was supposed to cull out dups.
Status: NEW → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.3beta
*** Bug 186863 has been marked as a duplicate of this bug. ***
Trunk build 2003-02-25: Mac 10.1.3
Trunk bild 2003-03-03: WinXP, Linux RH 8
Verified Fixed. Tried a variety of scenarios including:

- IMAP/POP/News in one profile
- 2 News accounts in a second profile
Status: RESOLVED → VERIFIED
Additional Information: In all cases in comment# 13, only one SMTP Server was
present in the Outgoing SMTP Server dialog and after clicking on its Advanced
button.
*** Bug 180216 has been marked as a duplicate of this bug. ***
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: