Target field empty in fivestar CCK values

gunzip - May 27, 2009 - 22:31
Project:Fivestar
Version:6.x-1.15
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

due to the patch introduced here #318610: CCK Fivestar: deleting review node does not remove votes with axis other than 'vote' the cck target value in the content type table is not saved anymore

afaik it should be (at about line 123 fivestar_field.inc):

if (is_numeric($target)) {
$items[$delta]['target'] = $target;

....

#1

xqi - June 18, 2009 - 02:26

same problem here. above code does fix the bug... thanks

#2

quicksketch - July 1, 2009 - 01:45
Status:active» fixed

Applied the attached patch based on gunzip's suggestion above.

AttachmentSize
fivestar_save_target.patch 1.71 KB

#3

quicksketch - July 1, 2009 - 01:46
Title:target field empty in fivestar cck values» Target field empty in fivestar CCK values

#4

System Message - July 15, 2009 - 01:50
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.