I think that's how it should be. However, I still see an "Add review" tab on the node where there already is a review that I just wrote. Can anyone else confirm?

P.S. Related issue (sort of) for D6: http://drupal.org/node/1399878

Comments

h3rj4n’s picture

Status: Active » Needs review
StatusFileSize
new835 bytes

I had the same problem. After searching I found the problem in the access callback of the add review url. When the module isn't configured right you can add as many reviews as you want.

The patch changes this. You'll now only be able to add a review when the module is configure right, meaning you'll have to add a 'Review Axe' to the review fields. You can do that in the configure options for the module. (That page is only accessible using the module list. See #1993358: Admin URL's to popup on the admin screen)

When the nodereview module isn't configured the right way you won't get the tab to add a review.

jay.lee.bio’s picture

Status: Needs review » Reviewed & tested by the community

H3rj4n, the patch works exactly as you described. In summary:

1) A review axis MUST be added. Or else the patch causes the "Add review" tab to disappear so that you can't even submit a review.
2) If a review axis is added, you can only submit one review. This was always the default behavior.

jay.lee.bio’s picture

Status: Reviewed & tested by the community » Active

Due to a somewhat related issue, I am changing the status back to active.