Node reference field not available as a target if shared between types
George2 - February 3, 2009 - 13:02
| Project: | Fivestar |
| Version: | 6.x-1.13 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
i've set up an episode content type which i want a single rating from review content type to be applied to. i've set up a review content type with a node reference to episode (required) and a fivestar field. however, when i try to set up the 5star field, i get the error:
No potential target fields are available for the Episode Review type. Create a node reference field in this node type to make it easier to assign a vote to a node.
i don't understand, a node reference field already exists, so why isn't fivestar not 'seeing' it?
thanks

#1
if i put the php code in to use the nid value of the node reference field, then it does work, but doesn't this defeat the purpose of the nice helper widget?
#2
I just recently fixed this bug as part of #474788: Target field empty in fivestar CCK values. The problem here is that a node reference field will not be recognized if the same field was shared between two content types. This is fixed in CVS and will be included in the 1.16 version.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.