Closed Bug 154938 Opened 22 years ago Closed 22 years ago

unable to move messages to another folder when offline

Categories

(SeaMonkey :: MailNews: Backend, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: blizzard, Assigned: Bienvenu)

Details

Attachments

(1 file)

On the 1.0 branch, build from June 29, I'm unable to move messages from my inbox
to an folder while offline.  I'm using 'delete immediately' as my delete model.

Steps to reproduce:

o Go offline.
o Try to move a message from your inbox to another folder.

Note that the message stays in the inbox.
any idea when this regressed? I haven't checked anything in for a while.
the message is copied to the other folder, and when you go back online, the
message is deleted from the inbox. So, the problem is that the message is not
deleted from the db when the offline move happens.
Attached patch proposed fixSplinter Review
fix is to check for this delete model when deciding to delete the source header
of the move. Navin, can I get a review? Chris, I'm guessing that this has been
broken forever, since I don't think anyone has changed this code recently.
Sorry David and Chris,
I just missed this,my bad. The only bugs I found on 'remove immediately'
are deleting while offline (bug 97310). Nothing on moving mesgs with that trash 
mode.

Just clarifying for my sake, that when you are offline, if you
move a downloaded/non-downloaded mesg from inbox to another folder
the mesg is 'moved(copied)' to the new folder. I can go the 
folder and see the newly moved mesg and read it (if it was
a downloaded mesg)

The bug is that when you move it, it doesn't immediately dissapear 
from the inbox like it should.
You have to go online to see the mesg dissapear from the inbox.

Tried other 2 trash modes (move to trash,mark as deleted) and
they behave correctly when moving a mesg from inbox to another folder.

Using 6-27 branch on NT 4.0.


Comment on attachment 89690 [details] [diff] [review]
proposed fix

r=naving
Attachment #89690 - Flags: review+
Comment on attachment 89690 [details] [diff] [review]
proposed fix

sr=sspitzer
Attachment #89690 - Flags: superreview+
fix checked in
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Using commercial trunk
2002-09-19-08-trunk/ NT 4.0
2002-09-20-08-trunk/ Mac 10.1.5, mac 9.2.2
2002-09-20-08-trunk/ linux 2.2, red hat 7.0

In "remove immediately" trash mode,
I was able to move downloaded mesgs, while offline,
from my inbox to a subfolder. The mesgs 'dissapeared'
immediately from the inbox and appeared in the subfolder.
Went back online and mesgs that were moved, were still 
in it's new folder.

marking verfied.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: