GNOME Bugzilla – Bug 646646
[pst-import] Incomplete and folder-incorrect import of pst file
Last modified: 2011-08-03 09:50:20 UTC
When importing messages from a a Microsoft Outlook .pst file, if there are sub folders in a folder, then the messages in the sub folders (ie. Inbox/Personal) will be imported, and placed in the correct sub folder. However, the messages that exist along with the sub folders are skipped (ie. All the mail items in inbox that are not in a sub folder). This applies to messages in subsequent sub folders too.
Thanks for a bug report. I'm not sure if I understand this. I suppose your .pst file has structure like this: main_folder msg1 msg2 sub_folder1 msg3 msg4 subfolder2 msg5 msg6 Then you import this file into, say On This Computer/existing_folder, which has, before the import this content: On This Computer existing_folder msg1 subfolder2 msg6 msg7 Thus subfolder2, msg1 and msg6 has same names (Subject in messages), in both .pst file and the actual destination. What you describe is that after the import there will be imported all (6) messages from the .pst file except of those two which are matching messages in the destination by the subject. Am I right? Because I've a feeling that the import always creates also that root "main_folder", thus the clash on names might not happen.
soren, can you reply the comment 1 ? Thank!
Let me do an example of my own: (1 main folder, 4 sub folders and 10 messages) main_folder msg 1 msg 2 msg 3 sub_folder 4 msg 4.1 msg 4.2 sub_folder 4.3 msg 4.3.1 msg 4.3.2 sub_folder 4.3.3 msg 4.3.3.1 sub_folder 4.4 msg 4.4.1 msg 4.4.2 what would be imported would be: (1 main folder, 4 sub folders and 3 messages - 7 messages omitted) main_folder sub_folder_4 sub_folder_4.3 sub_folder_4.3.3 msg_4.3.3.1 sub_folder_4.4 msg_4.4.1 msg_4.4.2 msg 1 - msg 3 - omitted: exist alongside sub_folder 4, which is created msg 4.1 & msg_4.2 omitted: exist alongside sub_folders 4.3 & 4.4, which are created msg 4.3.1 & 4.3.2 omitted: exist alongside sub_folder 4.3.3 which is created msg 4.3.3.1 imported msg 4.4.1 imported msg 4.4.2 imported
Actually the summary describes the problem quite eloquently
(In reply to comment #3) > msg 1 - msg 3 - omitted: exist alongside sub_folder 4, which is created > msg 4.1 & msg_4.2 omitted: exist alongside sub_folders 4.3 & 4.4, which are > created > msg 4.3.1 & 4.3.2 omitted: exist alongside sub_folder 4.3.3 which is created > msg 4.3.3.1 imported > msg 4.4.1 imported > msg 4.4.2 imported How can they exist there? It's a different folder, then it should be a different message, and even if it was a copy of any message from any other folder, then because it's still in another folder, then it should be treated as a new message. About that is your bug report, I know. Is it possible to get a testing pst file with some spam messages attached here for testing, please?
I checked changes between your 2.30.x and the actual git master (before 3.1.3) in the pst plugin and nothing seems to be related, thus I'm also wondering whether latest pst library wouldn't fix this inside of it, because I do not see any duplicity checking in the pst-import plugin in evolution itself.
I just tried with Outlook 2010 pst and i see the problem in Evolution 3.1.5. What i have in pst Inbox messages_inbox subfolder messages_subfolder subfolder2 messages_subfolder2 subfolder3 messages_subfolder3 After importing in Evolution under On this computer, i see all folders but i see messages only in subfolder3, those messages were not actually part of subfolder3. After import, subfolder3 contains messages of other folders as well but i had 26 messages in total including all folders before import as per outlook and now i see only 9 messages in Evolution.
Created attachment 193149 [details] [review] evo patch for evolution; With Akhil's help I found an issue. The folder parsing was not correct, and when moving upward in folder hierarchy, then the opened folder wasn't changed, thus the import was done into previously used folder, if any. Also, meeting invitation mails were ignored, thus that is fixed too.
Created commit 1000762 in evo master (3.1.5+) Created commit 5ab040b in evo gnome-3-0 (3.0.3+)