Download & Extend

fivestar_validate_target was not called in nodeapi view

Project:Fivestar
Version:6.x-1.15
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Here's the patch.
When your own module implements the MODULE_fivestar_access hook
this call isn't performed in a node view.

AttachmentSizeStatusTest resultOperations
check_permissions_on_view.patch632 bytesIgnored: Check issue status.NoneNone

Comments

#1

Status:patch (to be ported)» reviewed & tested by the community

Looks correct to me, this bug has been fixed in the 2.x version (HEAD) already, but needs to be applied to the 1.x branches.

#2

Status:reviewed & tested by the community» fixed

Committed.

#3

Followup patch, the call to fivestar_validate_target() was incorrect, since the "type" in this case should be "node", not $node->type.

AttachmentSizeStatusTest resultOperations
fivestar_validate_node.patch1.98 KBIgnored: Check issue status.NoneNone

#4

Status:fixed» closed (fixed)

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