Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comments
Comment #1
George2 CreditAttribution: George2 commentedif 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?
Comment #2
quicksketchI 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.