Open lfcnassif opened 7 years ago
Used scanpst to check if the ost was corrupted. It fixed some things, but java-libpst is still missing about 3200 from 13700 emails and 10000 from 17000 attachments.
Looking at the results with more attention, a lot of folders (with lots of emails) are being missed by java-libpst
that would be great if you don't mind! You could upload it to something like dropbox and email me a link: libpst AT rjohnson.id.au
The biggest challenge for me in implementing fixes is getting decent examples to work with.
Hi Richard, I have sent the link to you.
Cool, I requested access with the email address for my google account.
Hi Richard, any progress here? Do you need any help?
Hey, unfortunately not despite best intentions. Contributions are always welcome; with this particular scenario it sounds like this child items table is the incorrect thing to look at, or is too large for a single block thus requiring some additional logic somewhere https://github.com/rjohnsondev/java-libpst/blob/develop/src/main/java/com/pff/PSTFolder.java#L123
Generally the library will try to build it's own internal tree based on other "parent" identifiers if there is anything wrong with the child-items table: https://github.com/rjohnsondev/java-libpst/blob/304c0ac33fb0b7c120d387c56ea0f3e1c312137c/src/main/java/com/pff/PSTFolder.java#L158
It's definitely a serious issue. I'm also waiting until it is fixed to start using java-libpst again.
pffexport tool (from libpff) exports about 30k non deleted emails and attachments from a 2.8 GB 2013 OST while java-libpst extracts about 17k items from the same OST. It contains private data, but I can share privately if you want to dig into and investigate.