BEFORE importing attachments all is fine. Text is there.

AFTER importing attachments:

Topics with attachments have field_data_body NULL;
Comments with attachments have field_data_comment_body NULL.

If a post or topic has attachments, the post text is deleted when running phpbb_Attachment import.
So all posts with attachments become "empty posts with attachments".

This happens only when posts/threads have attachments.

Posts/thread without attachments are fine.

Don't remember when this started. I deleted the old test instances, so don't know.

Comments

JeremyFrench’s picture

Status: Active » Fixed

This was broken as part of the fixes to the dates and media module. This should now be working in all cases. A test would be most appreciated.

Only just committed to git. so it may take a while to show up in the dev build.

challenge’s picture

I gave it (from git) a very quick try and I have a issue hard to explain... advanced forum says "last post *date of migration*" in a lot of forums. But opening the posts their dates are ok.
Checked quickly database too and edited and created dates are ok in comments and nodes tables. No date of migration in those two tables, all is fine.

----> I found some posts WITH attachments saying "Edited by: admin on 11/30/2012 - 00:41 " (date of migration).
Others are marked as updated but there isn't the "edited by" thing. But they always are posts with attachments.

- So all post/threads with attachments are somehow marked as updated even if date of migration and creation are ok in the db. (advanced forum shows "updated" next to the topics name)

But I can't check deeply database now. I'll be out for a few days, so will not be able to give a diagnose until next 2 days.
So since I'm not 100% sure, I'm not reopening the issue now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.