Active
Project:
NodeReview
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 May 2013 at 01:49 UTC
Updated:
13 May 2013 at 20:13 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | nodereview-one_review_per_user-1992736-1.patch | 835 bytes | h3rj4n |
Comments
Comment #1
h3rj4n commentedI 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.
Comment #2
jay.lee.bio commentedH3rj4n, 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.
Comment #3
jay.lee.bio commentedDue to a somewhat related issue, I am changing the status back to active.