Closed Bug 444999 Opened 16 years ago Closed 16 years ago

IMAP or Password Manager Prompts Twice for Password when Check For New on Multiple Folders

Categories

(Thunderbird :: General, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 338549

People

(Reporter: jay+MOZILLA, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9) Gecko/2008061004 Firefox/3.0
Build Identifier: version 3.0a2pre (2008071203)

If I enable "Check this folder for new messages" on any IMAP folders then I prompted twice for my Password Manager Master Password, or if I disable Password Manager then twice for my IMAP Password. The same problem exists for MS Exchange running IMAP or for GMail IMAP.

Reproducible: Always

Steps to Reproduce:
1. Go to a non-INBOX IMAP folder.
2. Right click for folder Properties.
3. Click check box for "Check this folder for new messages".
4. Click OK.
5. Close Thunderbird/Shredder.
6. Restart Thunderbird/Shredder.
7. Type appropriate password each time you are prompted.
Actual Results:  
You are prompted TWICE for your password.

Expected Results:  
You should only be prompted ONCE for your password.

I believe the problem lies in multi-threading of checking the multiple IMAP folders you have checking for new messages. My hypothesis is that a second thread is spun off separate from the INBOX check for the other folders and they queue up a prompt for password instead of just checking to see if there has been a successful login to the IMAP server yet and then creating a new connection and not trying to re-authenticate.

I think comment 25 in bug 423354 hit the nail on the head for this bug I am posting. I'm not sure if it is related to the GMail problem and considering everyone in bug 423354 is going off in a completely different direction and ignoring comment 25 over there perhaps we can address this issue here instead.
I've seen this on Windows too with MS exchange as server.
OS: Mac OS X → All
Hardware: Macintosh → All
Version: unspecified → Trunk
Blocks: 428266
Status: UNCONFIRMED → NEW
Ever confirmed: true
Bug 340834 ->  Bug 338549
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
I disagree with the duplicate classification.  Bug 338549 concerns multiple simultaneous password prompts form separate accounts.  This bug is concerned with multiple serial password prompts for the same account.
Agree with Brian.  I read that Bug 338549 before posting this one.  This bug might be fixed if someone fixes 338549, but this is in regard a single account checking multiple folders.  I do not have GMail and Exchange in the same Profile, I only use one account per Profile.

Mark as a duplicate if you must, but just be sure this condition is fixed when Bug 338549 is fixed.
You need to log in before you can comment on or make changes to this bug.