don't allow user to delete the "Local Folders" account

VERIFIED FIXED in M13

Status

MailNews Core
Backend
P3
normal
VERIFIED FIXED
18 years ago
7 years ago

People

(Reporter: (not reading, please use seth@sspitzer.org instead), Assigned: (not reading, please use seth@sspitzer.org instead))

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

once ben and alecf land there account manager changes, I'm going create a stub
function for "delete account", and make it so it returns if they try to delete
the "Local Mail" (soon to be "Local Folders") account.

delete account will still fail to work, but this will track something that I
need to do.

Comment 1

18 years ago
I talked to seth in person - delete account has been written but not hooked up
to any UI - it's actually removeAccount()

Updated

18 years ago
QA Contact: lchiang → nbaca
Hardware: PC → All
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
Target Milestone: M13
fixed

Comment 3

18 years ago
Build 2000011109M13: NT4, Fixed.
Linux: I'll wait till bug# 14798 is fixed before verifying this bug.
Mac: Waiting on a good Mac build.

Comment 4

18 years ago
Build 2000012109M13: NT4, Linux, Mac
Verified Fixed. When "Local Folders" is selected in Account Setup then the 
"Delete" button is greyed out.
Status: RESOLVED → VERIFIED

Comment 5

17 years ago
Hi guys,

I was going to open up a bug that I can't delete the "Local Folders" account as
it is used for nothing as far as I can tell in my setup - IMAP mail and news.
All drafts/mail etc are stored in one of my IMAP accounts.

I guess there is a technical reason as to why I can not delete this account?
If not I'm going to open a bug that I can't do it?
So can I have your comments please.

Thanks,

  /James
james, the reason we always give the user a "local folders" account and don't
allow them to delete it is there are areas of the code where we need to be
guaranteed to have a mail folder on disk.

even if you only only set up mozilla to read news. still need that local folders
account.

for example:

1) drafts and templates (we store the message in the local folders)
2) sending messages later (Unsent Messages folder on local folders)

to make the code simpler, we just force the user to have a local folders
account, and prevent them from deleting it.

4.x had the same thing:  you could never get rid of the "Local Mail" account.

also, if we ever add imap offline, we'd use some of the local folders for that.

Comment 8

16 years ago
could you maybe have option "hide local folders"?

please?
(local folders are really annoying)

tm
Product: MailNews → Core
Product: Core → MailNews Core

Updated

7 years ago
Blocks: 110672
You need to log in before you can comment on or make changes to this bug.