In Drupal 8 beside the PID there is a thread column in the comment fields table, Drupal uses this column to render the comments so even that this module removes the Parent ID as expected the comments still save a reference of the thread and therefore the comments are not completely flattened (the module can be uninstalled or have the Threading option selected and the comments will be displayed as a thread).

So, it is necessary to recalculate the thread before to save the comment to guarantee that even removing the module or restoring the "threading" option the comments created without threading are still flat.

CommentFileSizeAuthor
#2 3130482-2.patch2 KBgnuget

Comments

gnuget created an issue. See original summary.

gnuget’s picture

Status: Active » Needs review
StatusFileSize
new2 KB
gnuget’s picture

Title: Thread is already calculated even withou the PID. » Thread is calculated even withou the PID.

  • gnuget committed fb26ab4 on 8.x-1.x
    Issue #3130482 by gnuget: Thread is calculated even withou the PID
    
gnuget’s picture

Status: Needs review » Fixed
gnuget’s picture

Issue summary: View changes
gnuget’s picture

Title: Thread is calculated even withou the PID. » Thread position is calculated even without the PID.

Status: Fixed » Closed (fixed)

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