Download & Extend

Target field empty in fivestar CCK values

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

Issue Summary

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;

....

Comments

#1

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

#2

Status:active» fixed

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

AttachmentSizeStatusTest resultOperations
fivestar_save_target.patch1.71 KBIgnored: Check issue status.NoneNone

#3

Title:target field empty in fivestar cck values» Target field empty in fivestar CCK values

#4

Status:fixed» closed (fixed)

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