Message vanishes when redoing moving from an IMAP folder
Categories
(MailNews Core :: Networking: IMAP, defect)
Tracking
(thunderbird_esr115 wontfix, thunderbird_esr128? fixed, thunderbird132 affected, thunderbird133 verified)
People
(Reporter: welpy-cw, Assigned: welpy-cw)
References
(Regression)
Details
(Keywords: dataloss, regression, triaged)
Attachments
(2 files, 1 obsolete file)
48 bytes,
text/x-phabricator-request
|
corey
:
approval-comm-esr128-
|
Details | Review |
9.18 KB,
patch
|
corey
:
approval-comm-esr128+
|
Details | Diff | Splinter Review |
Steps to reproduce:
- Move a message from an IMAP folder to a local folder.
- Undo
- Redo
Expected result:
The message is moved (again) into the local folder.
Actual result:
The message disappears.
Assignee | ||
Updated•10 months ago
|
Assignee | ||
Comment 1•10 months ago
|
||
Regression range
Likely regressed by bug 402392.
Updated•10 months ago
|
Assignee | ||
Comment 3•5 months ago
|
||
Bug 402392 changed the mechanism for restoring messages in local folders when performing an undo/redo operation. The old way was also retained and could be enabled by setting nsLocalMoveCopyMsgTxn::m_canUndelete
, but this wasn't ever used.
This patch removes m_canUndelete
and the code it covers, while fixing and simplifying the redo function.
Updated•5 months ago
|
Assignee | ||
Updated•5 months ago
|
Updated•5 months ago
|
Assignee | ||
Updated•5 months ago
|
Pushed by brendan@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/f435b708a4bb
Fix redo move/copy of messages from IMAP to local folder. r=BenC
Comment 5•5 months ago
|
||
Can you please briefly explain if this is relevant for 128, urgently or optionally ?
Comment 6•5 months ago
|
||
bug 402392 is version 12, so this should be an extremely old regression and I suggest it cannot be urgent.
Assignee | ||
Comment 7•5 months ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #6)
bug 402392 is version 12, so this should be an extremely old regression and I suggest it cannot be urgent.
Yes, this hasn't bothered anyone enough to report for over 12 years. Redo doesn't seem to be used that much.
Updated•5 months ago
|
Comment 8•5 months ago
|
||
Confirming this issue as verified fixed with 133.0b3(20241107210012) using Windows 11, macOS 14, and Ubuntu 22.
Assignee | ||
Comment 9•4 months ago
|
||
Comment on attachment 9430648 [details]
Bug 1898706 - Fix redo move/copy of messages from IMAP to local folder. r=benc
[Approval Request Comment]
Regression caused by (bug #): bug 402392
User impact if declined: Redoing a copy operation of messages from IMAP to a local folder removes the messages.
Testing completed (on c-c, etc.): c-c and beta
Risk to taking this patch (and alternatives if risky): low
Comment 10•4 months ago
|
||
Comment on attachment 9430648 [details]
Bug 1898706 - Fix redo move/copy of messages from IMAP to local folder. r=benc
[Triage Comment]
Approved for esr128
Comment 11•4 months ago
|
||
Hartmut, This patch needs to be rebased in order to apply to 128. Can you take care of that and we can pick this up in the next point release?
Updated•4 months ago
|
Comment 12•4 months ago
|
||
here's the merged patch
Comment 13•4 months ago
|
||
I haven't tested the merged patch.
Here is a try build with it:
https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=a56f585f2e8742476efbd0e5834f9ee4c0b53102
Could someone else check that the try build fixes the bug?
Assignee | ||
Comment 14•4 months ago
|
||
(In reply to Kai Engert [:KaiE:] from comment #13)
I haven't tested the merged patch.
Here is a try build with it:
https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=a56f585f2e8742476efbd0e5834f9ee4c0b53102Could someone else check that the try build fixes the bug?
Thanks Kai. I tested the optimized Linux try build, the problem is fixed. I'll upload a slightly modified version of the patch that should fix the clang-format error.
Assignee | ||
Comment 15•4 months ago
|
||
Assignee | ||
Updated•4 months ago
|
Comment 16•3 months ago
|
||
Comment on attachment 9441783 [details] [diff] [review]
D225458.esr128.diff
[Triage Comment]
Approved for esr128
Comment 17•3 months ago
|
||
Comment on attachment 9430648 [details]
Bug 1898706 - Fix redo move/copy of messages from IMAP to local folder. r=benc
[Triage Comment]
Patch for esr128 is available as a separate attachment.
Comment 18•3 months ago
|
||
bugherder uplift |
Thunderbird 128.5.2esr:
https://hg.mozilla.org/releases/comm-esr128/rev/b093d4d597b6
Description
•