I'm trying to migrate a forum from PHPBB 3.1.7-pl1 to D7. The initial post in the PHPBB thread becomes a Drupal comment as the first reply, while the first PHPBB reply becomes the initial post in the Drupal thread (a forum node with an empty title). See the attached image.

I can write code to fix this but it wouldn't be as clean as just doing the import again. Is this due to a recent change in PHPBB, or could this be a settings problem?

CommentFileSizeAuthor
switched.png120.36 KBTolstoyDotCom
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

TolstoyDotCom created an issue.

TolstoyDotCom’s picture

I created a small test forum using the same PHPBB version and that imported successfully.

I tried the full import again and I got the same results. Forum nodes that didn't have comments were OK: the problem was only with forum nodes that had one or more comments.

So, I wrote a little bit of code to swap the title/subject, uid, etc. of the forum node and the first comment. That seems to have worked OK.