Closed (fixed)
Project:
Vote Up/Down
Version:
7.x-1.x-dev
Component:
vud_field
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2011 at 21:34 UTC
Updated:
25 Feb 2012 at 08:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
JeremyFrench commentedI have found that you need to save the node before the widget will appear.
Comment #2
vlkff commentedThe problem is that the field items is empty before node object is saved (or resaved how it is described in note#4) with values for items provided by
I solved the problem with hook_field_prepare_view() , in the same way as default image implemented in image.module, and as for me it is a good solution.
But while a patching I noticed that you can't change voting settings for specific entity and in terms of that, storing 'vud_widget' and 'votingapi_tag' for each entity is useless.
So I think that we have to make voting settings configurable for a particular entity too or rework the data storing. Making voting settings configurable for a particular entity looks more attractive for me , because that feature will be required by users, but probably it is an object of discussion.
Comment #4
marvil07 commented@vlkff: Thanks for the patch!
I have just commushed it to 7.x-1.x
About:
I guess it was a bug before some commits. If you are able to reproduce it in current 7.x-1.x please open a new issue about it.