Cannot delete messages from EWS account
Categories
(MailNews Core :: Networking: Exchange, defect, P2)
Tracking
(Not tracked)
People
(Reporter: orion, Assigned: edicharry)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0
Steps to reproduce:
shift-del to delete a message
This is with today's daily. Sometimes I can get it to delete one or two messages before it stops. Nothing is showing up in the console or activity window
Actual results:
nothing
Expected results:
message should be deleted
Updated•2 months ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
I just managed to reproduce this one for the first time. I started Thunderbird and immediately selected a message and deleted it. The operation did not complete and I got the following error in the output log:
[Parent 82819, Main Thread] ###!!! ASSERTION: Some other operation is in progress: 'false', file /Users/eleanordicharry/Development/mozilla/thunderbird-central-sheriff/source/comm/mailnews/db/msgdb/src/nsMailDatabase.cpp:58
[Parent 82819, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8055000A (NS_MSG_FOLDER_BUSY): file /Users/eleanordicharry/Development/mozilla/thunderbird-central-sheriff/source/comm/mailnews/protocols/ews/src/EwsFolder.cpp:1019
[WARN protocol_shared::client] listener for DeleteItem success callback returned an error: NS_MSG_FOLDER_BUSY
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 2•1 month ago
|
||
I think this will be at least partially addressed by bug 2010331 and by bug 2012783, and fully by bug 2012785.
In the profile where I was able to reproduce this, the message bodies were still being downloaded in the background, which is when I got that error. I think the delete request is being blocked by the message body downloads. Once the account reaches steady state, deletes work like normal.
| Assignee | ||
Comment 3•1 month ago
|
||
Upon further consideration and reading more code, I feel like we need a more targeted fix for this issue. The cause is the fact that we have background operations running. While performance/concurrency fixes will reduce the frequency of this issue, they will not address the core cause, which manifests as a delete operation silently failing.
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 4•1 month ago
|
||
Getting back to this today, and it seems like we can't perma-delete multiple messages in a row. The second delete, and all subsequent deletes, fail with
[Parent 90087, Main Thread] WARNING: Last delete did not complete: file /Users/eleanordicharry/Development/mozilla/thunderbird-central/source/comm/mailnews/base/src/nsMsgDBView.cpp:2822
| Assignee | ||
Comment 5•1 month ago
|
||
| Assignee | ||
Updated•1 month ago
|
Pushed by corey@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/bb728c0da692
Notify folder listeners when delete operations complete or fail. r=jtracey
Description
•