Closed Bug 20401 Opened 25 years ago Closed 24 years ago

Should display error/warning when create same server from the account wizard

Categories

(MailNews Core :: Backend, defect, P2)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: huang, Assigned: sspitzer)

References

Details

(Whiteboard: [nsbeta3+][PDTP2])

Used WinNT 11-30-12-M12 & Linux 11-30-08-M12 commercila build,

Tried to Create the 2nd news server by using the same new server as the existing
one, should display error/warning to describe the new server already existed!

1) Be sure there was a news server there.
2) Tried to recreate the same news server as step (1) by using account wizard.
3) Actual Results: The news server which is same as existing one had been
created without error and also overwrite the existing one.

Expected results: Should display error/warning when created new server which
already existed, shouldn't overwrite the existing one.
Assignee: phil → alecf
I think it's legitimate to have more than one identity for the same server, but
I'm not sure if creating a new account is the right way to do that. Reassigning
to alecf.
Status: NEW → ASSIGNED
yep, though this bug is legit - it should at least warn the user.
Target Milestone: M13
Overwriting the existing account is a beta stopper
Priority: P3 → P2
Priority: P2 → P3
Target Milestone: M13 → M17
QA Contact: lchiang → huang
Target Milestone: M17 → M20
*** Bug 41162 has been marked as a duplicate of this bug. ***
this bug applies to all server types
Summary: Should display error/warning when create same new news server from the account wizard → Should display error/warning when create same server from the account wizard
I think this should be a polish bug.  Nominate for nsbeta3.  Moving target 
milestone to M18 to correspond to the nomination.
Keywords: nsbeta3
Target Milestone: M20 → M18
Adding mail4 triage nomination keyword.
Keywords: mail4
Is this similar to http://bugzilla.mozilla.org/show_bug.cgi?id=29579?

+ per mail triage
Whiteboard: [nsbeta3+]
No. I think they are different.
bug 29579 is : created two different AOL accounts in one profile, this bug is 
creating exactly the same account again....Ccing nbaca.
I agree with Karen, they are different.
Priority: P3 → P1
to pdt: P1 because the existing account could be overwritten - data loss
PDT marking P2 and leaving [PDTP2]. Might be P1 if local data store was lost.
Priority: P1 → P2
Whiteboard: [nsbeta3+] → [nsbeta3+][PDTP2]
taking this bug from alec.

Assignee: alecf → sspitzer
Status: ASSIGNED → NEW
Whiteboard: [nsbeta3+][PDTP2] → [nsbeta3+][PDTP2] working on this now (9-5-00)
accepting.
Status: NEW → ASSIGNED
fix checked in.

I check if the proposed account exists when you hit "next" on the server page of
the new account wizard.  (the proposed account is the triplet
{username,hostname,type}).

if that account already exists, you don't go on to the next page of the new
account wizard.

Instead, an alert with the following text pops up:  "An account of this type
with the same username and hostname already exists.  Go back and change it or
hit cancel."

(adding jglick to the cc list so she can supply a better alert message.)

marking fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Whiteboard: [nsbeta3+][PDTP2] working on this now (9-5-00) → [nsbeta3+][PDTP2]
re-open.  I made it work properly for news, but not for mail servers.
I'll mark this fixed when I finish it.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
ok, now it's fixed.

we do the right thing for all the server types (nntp and pop/imap)
Status: REOPENED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
Verified on WinNT 09-06-08-M18 commercial build IMAP, POP and NNTP accounts
Verified on Linux 09-06-08-M18 commercial build IMAP, POP and NNTP accounts
Verified on Mac 09-06-04-M18 commercial build IMAP, POP and NNTP accounts

An alert/warning "An account of this type with the same username and hostname 
already exists.  Go back and change it or hit cancel." is displaying now. 

jglick can still supply a better alert message if she wants. 
Marking as verifiied!!
Status: RESOLVED → VERIFIED
cc'ing Robin Foster for wording issue.
Seth, can you re-word the error message as follows? Thanks.

A mail or newsgroup account with the same user name and server name already
exists. Click Back and enter a different server name, or click Cancel.
the alert text has been updated to robinf's suggested text.
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.