Download & Extend

node_comment_nodeapi($node, 'load', ...) does not set $comment_data['comment_target_cid'] from DB

Project:Node Comments
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

As a result of this, hook_form_alter() (as well as the internal nodecomment_form_alter()) can't detect if the node is a reply to another comment while altering $type.'_node_form', when an existing comment is being edited, not created. Here is a patch that fixes it.

AttachmentSize
nodecomment.module.patch558 bytes

Comments

#1

The same fix needs to be done in 6.x-1.x-dev.

#2

It looks like 6.x-2.x has fixed it.

#3

Status:needs review» closed (fixed)

D5 branch is not supported anymore. Closing.
Please reopen if the issue is relevant with Nodecomment 6.x-2 branch.