Closed Bug 645173 Opened 13 years ago Closed 6 years ago

Large message is downloaded twice when moving/copying to another IMAP acount

Categories

(MailNews Core :: Networking: IMAP, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: tanstaafl, Unassigned)

Details

(Whiteboard: dupeme?)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16
Build Identifier: 3.1.9

When I select a message in a folder that is marked for offline use, and wait for the message to fully download, then move or copy it to another IMAP account, it downloads the message *again* before initiating the upload to the target account/folder.

Reproducible: Always

Steps to Reproduce:
1. Find/select a large message in an IMAP account in a folder that is marked for offline use
2. Wait for it to fully download
3. Move or copy the message to a target folder in a different IMAP account
Actual Results:  
TB downloads the message *again* before initiating the upload to the target account/folder

Expected Results:  
TB should simply ijnitiate the upload to the target account/folder, since the message has (or should have) already been downloaded to the local message store.
This is probably true if your server support the IMAP MOVE extension.
Component: General → Networking: IMAP
Product: Thunderbird → MailNews Core
QA Contact: general → networking.imap
Otherwise I think we need to do so to get UUID for the messages that need to be copied.
IMAP move is not involved in cross-server moves. What this bug is about is us not using the mem/disk cache or offline store when moving a message between imap servers (not that I've confirmed that it's happening).
(In reply to David :Bienvenu from comment #3)
> IMAP move is not involved in cross-server moves. What this bug is about is
> us not using the mem/disk cache or offline store when moving a message
> between imap servers (not that I've confirmed that it's happening).

STM that would make this a duplicate, no?
Whiteboard: dupeme?
The bug as described WFM; if a single message is in the offline store, then copying it to an other imap server does not download it from the first server. Even copying multiple messages across IMAP servers doesn't download them if they're in the offline store, unlike copying multiple messages to a local folder. So I suspect that in the reporter's case, clicking on the message didn't put it in the offline store, perhaps because there were inline *and* external parts in the message. Or something else went wrong trying to put the message in the offline store.
WFM per comment 6.  If you disagree, please comment.

(Regarding local folders, see bug 505456)
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.