Great module... I can do most of what I want with it.

I'm not sure if this is a bug report, feature request or support request, but here's my issue...

I have two types of nodecomment content-types: "Review" and "Comment." "Comments" are there to add standard comments to the "Reviews."

Under the workflow settings for "Review," I have setup "Comment" as the "Node type for comments." The problem is:

- There is no "Add new Comment" link on the test review I made.
- The "Reply" links leads to the "Create Review" page rather than the "Create Comment" page.

Can the structure be setup in the way I want?

Comments

sandiegoseo’s picture

I am having the same exact problem.

sandiegoseo’s picture

Great work on the module to all the dev's.

I did some further investigating and there appears to be a partial workaround for this problem.

To use taite11's example, we have 3 node types:

1. 'Product', type: node
2. 'Review', type: nodecomment (allows users to comment on 'product')
3. 'Comment', type: nodecomment (allows users to comment on 'review').

'Product' workflow settings: Node type for comments = 'Review'.
'Review' workflow settings: Node type for comments = 'Comment'.

The problem:
When creating a Review for Product, everything works fine. However, when trying to create a Comment for Review, there is no 'Add new Comment' link visible. Furthermore, if you click on the 'Reply' link, you get taken to the "Create Review" form here:

/node/add/review/1/2

In this case, 1 refers to the Product node, and 2 refers to the Review node. So we simply change the URL to this:

/node/add/comment/2

This brings up the proper form "Create Comment" form.

Using this method the node association seems to work fine (Comment is a nodecomment under the the parent Review nodecomment). I tried using Fivestar to allow the Comment node to rate the Review node and it worked great. However, if you view the Review node, you will not see any comments. I assume this had to do with the bug itself.

Is this a bug or is this how this module is supposed to work? It would be awesome to enable the nodecomment for nodecomment capability.

Mark

sandiegoseo’s picture

Category: support » bug
electricmonk’s picture

Status: Active » Needs review
StatusFileSize
new1.35 KB

I think I solved this. Patch attached.

quicksketch’s picture

Thanks electricmonk, the patch definitely helped point out the problem. I tidied it up a bit to use the proper construct() and alias table names. I've committed the attached patch to 1.x and 2.x branches.

quicksketch’s picture

Title: "Reply" link leads to wrong content-type » Views "Reply" link leads to wrong content-type
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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