Open Bug 222485 Opened 21 years ago Updated 11 years ago

folders and messages imported from Outlook - Dragging a folder of messages copies the mail in the top folder, but not in the subfolders

Categories

(MailNews Core :: Import, defect)

defect
Not set
critical

Tracking

(Not tracked)

People

(Reporter: graeme.perrow, Unassigned)

References

Details

(Keywords: dataloss)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6

I created a new account, then imported old messages from Outlook. I wanted to
move the heirarchy from Local Folders to the new account, under Inbox, so I
dragged each directory to Inbox. For directories with no subdirectories, this
worked fine.  For directories with subdirectories, the top-level directory
worked fine, the subdirectories were created, but the messages in each
subdirectory were not. In addition, the cursor changed to an hourglass, and
nothing else happened. I had to kill Thunderbird, and then copy the messages
from each folder one at a time.

Reproducible: Always

Steps to Reproduce:
1. Import messages from Outlook
2. Open Local Folders/Outlook Mail
3. Choose a folder that has subfolders with messages in them
4. Grab that folder and drag it to Inbox

Actual Results:  
The folder grabbed was copied, along with all of its messages. Each subfolder
was created, but no messages were copied.

Expected Results:  
Copied the folder grabbed and its messages, then copied each subdirectory AND
its messages.
*** Bug 220276 has been marked as a duplicate of this bug. ***
*** Bug 235184 has been marked as a duplicate of this bug. ***
I've run into this myself on Mac OS X.  This is serious dataloss.  I got bumped
while clicking and the click became a drag and unintentially dragged a folder I
wasn't even intending to move, and wound up losing the contents.  I was
fortunate and had a recent backup, though.
Severity: normal → critical
Flags: blocking-aviary1.0?
Keywords: dataloss
OS: Windows XP → All
Hardware: PC → All
To clarify, as described above, the top-level folder was okay, but all the
subfolders under it lost their messages.
not a stopper. mozilla has always done this if I recall correctly.
Flags: blocking-aviary1.0? → blocking-aviary1.0-
Keywords: helpwanted
curious if https://bugzilla.mozilla.org/show_bug.cgi?id=311394 is related to this.
this is a problem with Outlook import, I believe - I think it doesn't create quite the right directory and file structure on disk. The last commenter on bug 311394 might have been running into this bug, but I don't think in general bug 311394 is the same as this.
QA Contact: front-end
(In reply to comment #7)
> this is a problem with Outlook import, I believe - I think it doesn't create
> quite the right directory and file structure on disk.

is justdave's issue then a different problem?

Assignee: mscott → nobody
Nikolay, is there here that you might be able to reproduce?
Component: Mail Window Front End → Import
Product: Thunderbird → MailNews Core
QA Contact: front-end → import
(for the record - reporter writes he is not in a position to attempt reproducing and "As far as I'm concerned, you can close the bug.")
Will do tests on latest trunk, but personally never seen it since moved to trunk.
Geoffrey, do you have much experience with outlook import? and have you seen anything like this?

I'm not sure I trust my results, so can someone verify, and also dig into some of my notes below?  

notes: 
* testing may be difficult, because folder copy/move interaction/bugs with trash is just plain lame
* I didn't try all combos of move and copy, nor determine if move behavior is different from copy, nor what drag-n-drop behaviors (if any) happen on non-imported folders
* I think I wrote something similar in another bug - cant find it just now.

1. Imported structure (described below) from outlook 2007.
2. copy a folder "a" with subfolders to top level "Local Folders"

results: 
* As far I can tell, the imported folder structure looks good
attempt #1: *copy* fails as described, only the top level folder is copied
attempt 2#: *move* of the structure worked - this was after a restart (because the failed copy hosed dnd operations)

Outlook structure (actual folder names)
   a
     b.suba
       1.subb
     c.suba

Import results in thunderbird - looks good
 Outlook Import (folder)
   a
     b.suba
       1.subb
     c.suba

Folders on disk - looks good
 Outlook Import (dir)
   a.sbd (dir)
     b.suba.sbd (dir)
       1.subb
       1.subb.msf
     b.suba
     b.suba.msf
     c.suba
     c.suba.msf
   a
   a.msf

(almost closed this incomplete, thinking we don't have sufficient detail about the original report - how tempting)
Keywords: helpwanted
Summary: Dragging a folder of messages copies the mail in the top folder, but not in the subfolders → folders and messages imported from Outlook - Dragging a folder of messages copies the mail in the top folder, but not in the subfolders
You need to log in before you can comment on or make changes to this bug.