Open Bug 2089877 Opened 14 days ago Updated 10 days ago

Wierdness in nsIMsgOfflineImapOperation-related code

Categories

(MailNews Core :: Database, defect)

defect

Tracking

(Not tracked)

People

(Reporter: benc, Unassigned)

References

Details

As part of Bug 2057063 I kept coming across odd little bits of nsIMsgOfflineImapOperation-related code. Stuff that looks like it could never have possibly worked as intended.
IMAP relies on this code when doing some online operations (eg copy/moving between folders on the same IMAP server), so it obviously does more or less work, but I think there are lots of odd cases where it's just plain wrong, or wrong-but-not-wrong-enough-to-be-noticed, or just so obscure that nobody has connected it to problems...

Bug 2057063 is just to massage the code into a place where it can be worked with, without actually changing any behaviour.
So this bug is to note the wierdness I find in the process - I'll add comments in the source pointing to this bug..

It's likely this bug is redundant - the whole approach to offline operations needs a good rethink, and all the existing implementation should be swept away, but seems silly not to leave some breadcrumbs anyway.

See Also: → 2085116, 2089523
You need to log in before you can comment on or make changes to this bug.