Closed (outdated)
Project:
Rate
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2013 at 06:01 UTC
Updated:
18 Sep 2025 at 13:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
matt v. commentedI'm attaching a patch.
Comment #2
jpontani commentedThe patch you attached will actually break other Rate widgets as it doesn't actually take into account when the use_source_translation property is set to FALSE (it passes !empty, but shouldn't translated).
See comment #1 in #1905002: adding a new answer results in an undefined property notice when . The problem lies in the rate widget export itself not having that property initialized.
Comment #3
matt v. commentedjpontani,
Sorry, I completely missed the patch you posted in #1905002: adding a new answer results in an undefined property notice when . I must not have refreshed the page before posting mine. Thanks for responding so quickly!
Comment #4
Anonymous (not verified) commentedMaybe I'm missing something being new to this, but I've put it both patches, run update.php, and still get the error message twice for the question and each answer. I'm not using commons; I'm using the Answer module and all the required modules that go with it. My version is 7.x-1.6+0-dev.I may be applying the patch wrong (googled that), or it may be that I should just wait for an updated version. I'm in the beginning stages of the site and this is just one part, so if the answer is wait for a newer version or "You're an idiot," I can deal with that.Resolved. Yes, I'm an idiot.
Comment #5
msypes commentedJust noting the error still appears in v1.7, but the patch works, or at least in my limited example.
Comment #6
ivnishDrupal 7 is EOL. Issue will be closed, but patches are still here