Closed (outdated)
Project:
Rate
Version:
7.x-1.7
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Aug 2014 at 23:36 UTC
Updated:
18 Sep 2025 at 12:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jemisond commentedComment #2
ir.ma3x commentedsame problem here...
Comment #3
nelsonre commentedI think the problem occurs when the option "Use source translation" is checked.
Comment #4
ir.ma3x commentedthanks.
that worked for me :)
Comment #5
hanskuiters commentedWhere do I find the option "Use source translation"?
Comment #6
cprofessionals commentedcapono,
Go to admin/structure/rate, select your widget and down at the very bottom there is a Translation section. Uncheck the box. It worked for me! I am using version 1.7.
Comment #7
hanskuiters commentedThanks CPro. I have 7.x-1.7. There is no version 2.
Comment #8
cprofessionals commentedOops, I guess it was in anticipation of 2.0 (I think I had just read the project page). I made the changes in my earlier post. Thanks for a great module!
Comment #9
hanskuiters commentedI added a screendump of my settings. No language section here.
Comment #10
A.Kotov commentedit is interesting that at "teaser" it works good even with "Use source translation" ON
no $results coming on "full" page load.
Comment #11
cprofessionals commentedWeird, I thought I posted a response yesterday. Capono, If you enable the Content Translation Module (Part of Core) you will get the options that have been mentioned in #3. So I guess you have to enable the translation to disable it in this module to get the module to work right? Sounds odd, but that seems to be the case. Hopefully the Developers are watching.
Comment #12
hanskuiters commentedFound the setting, thanks.
Comment #13
LeoVe commentedYep, unselect option "Use source translation" worked here to.
Comment #14
errand commented#3 worked for me too, tnx!
Comment #15
dan kolbas commentedIssue:
So I ran into this issue as well. So when you have those modules enabled as mentioned above you get the option to check the box under your widget settings: "Use source translations".
The problem with this is that the tnid is 0 on any node that does not have a translation node already created. When a translation is created that value is filled out and otherwise 0 until then. So what your seeing is that you have users vote on that node and it saves the voting results, but it doesn't return any results because the node ID that it is looking up is 0. Basically there is a bug in the code. I have a solution, but there is a case that i am not 100% sure how to handle that someone could run into.
Problematic function:
Below is what I would suggest doing to fix the issue for almost all cases.
Purposed code changes:
The code that is important above is:
I don't have time atm to build out a patch file atm, but I wanted to document this before I forgot.
Comment #16
ivnishDrupal 7 is EOL. Issue will be closed