Open Bug 477443 Opened 15 years ago Updated 9 months ago

When Drafts folder is re-initialized on IMAP server("uid validity not ok" occurs), "Save As Draft" doesn't save draft mail even though dialog of "Your message has been saved" is displayed

Categories

(MailNews Core :: Networking: IMAP, defect)

x86
Windows XP
defect

Tracking

(Not tracked)

People

(Reporter: World, Unassigned)

References

(Blocks 1 open bug)

Details

> Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090206 Shredder/3.0b2pre

When Drafts folder is re-initialized on IMAP server("uid validity not ok" occurs), "Save As Draft" doesn't save draft mail even though dialog of "Your message has been saved" is displayed.

(Test procedure)
1. Start Tb. Drafts folder is not opened yet. 
2. Delete/re-define Gmail Label of "[Imap]/Drafts".
   (== Delete/re-define Drafts folder at IMAP server)
3. Compose a mail, Save As Draft
> 00000071 2.48314691 [4052] 3600[784cd10]: 78533d0:imap.gmail.com:A:SendData: 6 select "Drafts"
> 00000072 2.76589584 [4052] 3600[784cd10]: ReadNextLine [stream=78744d8 nb=52 needmore=0]
> 00000073 2.76605201 [4052] 3600[784cd10]: 78533d0:imap.gmail.com:A:CreateNewLineFromSocket: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
> 00000074 2.76615000 [4052] 3600[784cd10]: ReadNextLine [stream=78744d8 nb=69 needmore=0]
> 00000075 2.76621437 [4052] 3600[784cd10]: 78533d0:imap.gmail.com:A:CreateNewLineFromSocket: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]
> 00000076 2.76629281 [4052] 3600[784cd10]: ReadNextLine [stream=78744d8 nb=30 needmore=0]
> 00000077 2.76635695 [4052] 3600[784cd10]: 78533d0:imap.gmail.com:A:CreateNewLineFromSocket: * OK [UIDVALIDITY 602313111]
> 00000078 2.76642704 [4052] 3600[784cd10]: ReadNextLine [stream=78744d8 nb=12 needmore=0]
> 00000079 2.76654410 [4052] 3600[784cd10]: 78533d0:imap.gmail.com:A:CreateNewLineFromSocket: * 0 EXISTS
> 00000080 2.76662040 [4052] 3600[784cd10]: ReadNextLine [stream=78744d8 nb=12 needmore=0]
> 00000081 2.76668429 [4052] 3600[784cd10]: 78533d0:imap.gmail.com:A:CreateNewLineFromSocket: * 0 RECENT
> 00000082 2.76675534 [4052] 3600[784cd10]: ReadNextLine [stream=78744d8 nb=17 needmore=0]
> 00000083 2.76681972 [4052] 3600[784cd10]: 78533d0:imap.gmail.com:A:CreateNewLineFromSocket: * OK [UNSEEN 0]
> 00000084 2.76689076 [4052] 3600[784cd10]: ReadNextLine [stream=78744d8 nb=18 needmore=0]
> 00000085 2.76695418 [4052] 3600[784cd10]: 78533d0:imap.gmail.com:A:CreateNewLineFromSocket: * OK [UIDNEXT 1]
> 00000086 2.76702452 [4052] 3600[784cd10]: ReadNextLine [stream=78744d8 nb=46 needmore=0]
> 00000087 2.76708817 [4052] 3600[784cd10]: 78533d0:imap.gmail.com:A:CreateNewLineFromSocket: 6 OK [READ-WRITE] Drafts selected. (Success)
> 00000088 2.76728654 [4052] 3600[784cd10]: 78533d0:imap.gmail.com:S-Drafts:ProcessSelectedStateURL: uid validity not ok
4. "Save successful" dialog, but draft mail is not saved in Drafts folder.
Is this a duplicate of bug 243184?
This bug is not same as original problem of that bug(bug 243184 coment #0) because that bug is for "Drafts doesn't exist" case.
This bug is for similar "steps to reproduce" to bug 243184 coment #12("Drafts is newly created and newly chosen as folder to save draft), but it's still unknown whether "uid validity not ok" happened or not in bug 243184 comment #12. It's true too in bug 243184 coment #0.
Blocks: tb-drafts
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.