Open Bug 457099 Opened 16 years ago Updated 2 years ago

empty messages 1970 year in date when using deleteMessages with deleteStorage false

Categories

(MailNews Core :: Database, defect)

x86
Windows XP
defect

Tracking

(Not tracked)

People

(Reporter: eyalroz1, Unassigned)

Details

My removedupes extension does:

      sourceFolder.deleteMessages(
        removalMessageHdrs, 
        msgWindow,
        true, // delete permanently
        false, // delete storage - what does this mean? 
        null, // no listener
        true // allow undo... will this be possible at all?
        );

perhaps I need to 'delete storage', but even if I don't - why do I see a bunch of dummy empty messages after deletion?
The argument you have labeled as delete storage is (currently, it might have changed?) "isMove".  The semantics are apparently that if the deletion is part of the move process (copy to the new folder, delete the originals), you should pass true for isMove.

Do you still get empty message headers / is this still an issue?
(In reply to Andrew Sutherland (:asuth) from comment #1)
> The argument you have labeled as delete storage is (currently, it might have
> changed?) "isMove".  The semantics are apparently that if the deletion is
> part of the move process (copy to the new folder, delete the originals), you
> should pass true for isMove.
> 
> Do you still get empty message headers / is this still an issue?
Flags: needinfo?(eyalroz)
Not recently, but I haven't really done mass dupe removals lately.
Flags: needinfo?(eyalroz)
Summary: empty messages show up when using deleteMessages with delteStorage false → empty messages show up when using deleteMessages with deleteStorage false
(In reply to Eyal Rozenberg from comment #3)
> Not recently, but I haven't really done mass dupe removals lately.

When this happened, did the empty messages show up with the proverbial 1969 or 1970 year in the date?
Flags: needinfo?(eyalroz)
Indeed. 1970.
Flags: needinfo?(eyalroz)
Summary: empty messages show up when using deleteMessages with deleteStorage false → empty messages 1970 year in date when using deleteMessages with deleteStorage false
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.