Closed
Bug 571800
Opened 14 years ago
Closed 14 years ago
undo delete gives IMAP error: "Error in IMAP command UID: Invalid UID messageset"
Categories
(MailNews Core :: Networking: IMAP, defect)
Tracking
(blocking-thunderbird3.1 .1+, thunderbird3.1 .1-fixed, thunderbird3.0 unaffected)
RESOLVED
FIXED
Thunderbird 3.3a1
Tracking | Status | |
---|---|---|
blocking-thunderbird3.1 | --- | .1+ |
thunderbird3.1 | --- | .1-fixed |
thunderbird3.0 | --- | unaffected |
People
(Reporter: halbert, Assigned: Bienvenu)
Details
(Keywords: regression)
Attachments
(3 files)
35.44 KB,
text/plain
|
Details | |
1.02 KB,
patch
|
standard8
:
review+
standard8
:
superreview+
standard8
:
approval-thunderbird3.1.1+
|
Details | Diff | Splinter Review |
3.42 KB,
patch
|
standard8
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.70 Safari/533.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1
Undo after a delete reports an error from the IMAP UID command:
Error in IMAP command UID: Invalid UID messageset.
Reproducible: Always
Steps to Reproduce:
. Select a message in INBOX or other folder (except Trash)
2. Delete the message.
3. Do Undo (^Z)
4. A notification window rolls up, saying (for example):
"The current operation on 'Inbox' did not succeed. The mail server for account testing@halwitz.org responded: Error in IMAP command UID: Invalid UID messageset."
My IMAP server is secure.emailsrvr.com, which is Rackspace's commercial Noteworthy IMAP service.
I could give you a test account on that service if you'd like; contact me.
Reporter | ||
Comment 1•14 years ago
|
||
Reporter | ||
Comment 2•14 years ago
|
||
This error happens in 3.1RC2; operating on the same mailbox in 3.0.4 does not cause the problem.
Reporter | ||
Comment 3•14 years ago
|
||
This is reminiscent of bug 569588 (same initial scenario), but is not a crash.
Comment 4•14 years ago
|
||
Dan can you find out when this regressed ?
Component: General → Networking: IMAP
Keywords: regression
Product: Thunderbird → MailNews Core
QA Contact: general → networking.imap
Updated•14 years ago
|
Attachment #450960 -
Attachment mime type: application/octet-stream → text/plain
Reporter | ||
Comment 5•14 years ago
|
||
(In reply to comment #4)
> Dan can you find out when this regressed ?
I tried rc1, and then bisected. I ended up testing all the releases:
3.04 OK
3.1a1 OK
3.1b1 OK
3.1b2 error as reported
3.1rc1 error as reported
3.1rc2 error as reported
** ALSO, I accidentally confirmed the crash in bug 569588 while testing. As that bug says, the following scenario causes a crash:
1. Delete message
2. QUICKLY do undo (^Z)
In this scenario, I did not see the IMAP UID error notification. However, I was able to reliably reproduce the bug 569588 crash all the way back to Thunderbird 3.0.2, so it is not clear how/if it is related to this IMAP error bug. The IMAP error bug happens when the undo is not done quite so quickly (perhaps there is time for a round-trip to the IMAP server).
Comment 6•14 years ago
|
||
Dan can you try to finegrain the bisect using nightlies so we end up with a shorter regression window ?
Reporter | ||
Comment 7•14 years ago
|
||
(In reply to comment #6)
> Dan can you try to finegrain the bisect using nightlies so we end up with a
> shorter regression window ?
Sure. I assume you mean the nightlies here:
http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/
but which branch should I be testing? There's -comm-1.92, comm-1.9.2-i10n, etc. Thanks.
I will be able to do this some time this evening Eastern time.
Comment 8•14 years ago
|
||
Yes -comm-1.9.2 is the one to use.
Assignee | ||
Comment 9•14 years ago
|
||
I was able to reproduce this - we're using the message id and not the uid in the command to clear the deleted flag. So someone (probably me) got confused about what a string contained...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 10•14 years ago
|
||
(In reply to comment #9)
> I was able to reproduce this ...
Would bisecting still be helpful? I was just about to start doing that.
Assignee | ||
Comment 11•14 years ago
|
||
(In reply to comment #10)
> Would bisecting still be helpful? I was just about to start doing that.
It might be helpful, but it might not be needed either. I'll spend a few minutes investigating and let you know if I get stumped.
Assignee | ||
Comment 12•14 years ago
|
||
I think it was the patch in bug 525646 that caused the regression. bisection won't be helpful at this point, but thanks for offering.
Assignee | ||
Comment 13•14 years ago
|
||
this fixes it - running the unit tests to make sure it doesn't regress anything. But they passed w/ the bug in :-)
Assignee: nobody → bienvenu
Assignee | ||
Comment 14•14 years ago
|
||
I think what's happening here is that the regression was from a long time ago, but we never saw a ui manifestation of it because the undo runs w/o a message window. Thus, the error from the server was not displayed. But now that we have a non-modal alert mechanism, even urls run without a msgWindow cause the error to get displayed to the user. It's unfortunate that this is in 3.1, but it's probably not worth respinning for.
Some imap servers may not generate an alert in this case, since they might just ignore bad UID's in the STORE command.
Updated•14 years ago
|
blocking-thunderbird3.1: --- → ?
Comment 15•14 years ago
|
||
Might the "response" be different depending on server? With undo I get
The current operation on <folder> did not succeed. The server for account <name> responded: Bogus sequence in UID FETCH: UID sequence syntax error.
Comment 16•14 years ago
|
||
forgot to mention...in 3.1 (not sure about 3.2) this causes this UI to freeze for a few seconds
Assignee | ||
Comment 17•14 years ago
|
||
I need to figure out why our unit test didn't catch this, other than the fact that the undo actually works, despite the error.
Assignee | ||
Comment 18•14 years ago
|
||
fakeserver ignores invalid uids, which it should not, I don't think, so I'll have to patch fakeserver.
Assignee | ||
Comment 19•14 years ago
|
||
Attachment #452145 -
Flags: review?(bugzilla)
Assignee | ||
Updated•14 years ago
|
Attachment #451184 -
Flags: superreview?(bugzilla)
Attachment #451184 -
Flags: review?(bugzilla)
Comment 21•14 years ago
|
||
(In reply to comment #14)
> But now that we have
> a non-modal alert mechanism, even urls run without a msgWindow cause the error
> to get displayed to the user.
You're right, I couldn't understand it at first, but yes, I did miss that when we swapped to non-modal.
Updated•14 years ago
|
Attachment #452145 -
Flags: review?(bugzilla) → review+
Updated•14 years ago
|
Attachment #451184 -
Flags: superreview?(bugzilla)
Attachment #451184 -
Flags: superreview+
Attachment #451184 -
Flags: review?(bugzilla)
Attachment #451184 -
Flags: review+
Updated•14 years ago
|
Whiteboard: [ready to land]
Assignee | ||
Comment 22•14 years ago
|
||
fixed on trunk
Flags: in-testsuite+
Target Milestone: --- → Thunderbird 3.2a1
Comment 23•14 years ago
|
||
Adding text in bug summary, for ease of tracking and search.
Summary: undo delete gives IMAP error: "Error in IMAP command UID: Invalid UID messageset" → undo delete gives IMAP error: "Error in IMAP command UID: Invalid UID messageset" (with 3.1RC2. no problem with Tb 3.0.x. i.e. regression by change between Tb 3.1RC1 and Tb 3.1RC2)
Comment 24•14 years ago
|
||
(In reply to comment #23)
> Adding text in bug summary, for ease of tracking and search.
Sorry but I really don't think we need to know which specific versions in the summary, especially when branch statuses are governed by existing fields.
status-thunderbird3.0:
--- → unaffected
Summary: undo delete gives IMAP error: "Error in IMAP command UID: Invalid UID messageset" (with 3.1RC2. no problem with Tb 3.0.x. i.e. regression by change between Tb 3.1RC1 and Tb 3.1RC2) → undo delete gives IMAP error: "Error in IMAP command UID: Invalid UID messageset"
Assignee | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 25•14 years ago
|
||
David: is this ready for 3.1 branch?
Assignee | ||
Comment 26•14 years ago
|
||
Comment on attachment 451184 [details] [diff] [review]
proposed fix
yes, I think this is ready for 3.1.1
Attachment #451184 -
Flags: approval-thunderbird3.1.1?
Updated•14 years ago
|
Attachment #451184 -
Flags: approval-thunderbird3.1.1? → approval-thunderbird3.1.1+
Comment 27•14 years ago
|
||
Checked into comm-1.9.2 and relbranch for 3.1.1 build 2:
http://hg.mozilla.org/releases/comm-1.9.2/rev/143c3b884937
http://hg.mozilla.org/releases/comm-1.9.2/rev/8f2aea2d5c4b
status-thunderbird3.1:
--- → .1-fixed
Whiteboard: [ready to land]
You need to log in
before you can comment on or make changes to this bug.
Description
•