After migration I've observed that nested comments behalf to an incorrect parent.

In the dada database, each comment has a rootid and a parentid. If both are equal, the objectid is refered to the parent article. If not equal, means the comment is nested. The rootid is the parent article and the parentid is the parent comment.

In any of those cases, the parentid is the only needed objectid. But if rootid != parentid, the parent is not an article but a comment. Dadamigrator does not take care of this.

Attached is a patch that fix this issue. It has been tested with success on my local imc.

CommentFileSizeAuthor
patch_nested_comments.patch.txt571 bytesjonhattan

Comments

jonhattan’s picture

Status: Active » Needs review

changing state to code needs review...

jonhattan’s picture

Project: Indymedia IMC Alba » DadaIMC to Drupal
Version: 6.x-1.1 » 6.x-1.x-dev

stealing issue!

jonhattan’s picture

Status: Needs review » Fixed

fixed.

Status: Fixed » Closed (fixed)

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