If you put more than one fivestar fields to a content and all fields has different tags and one vote is accepted per fivestar fields, you can only vote one of them. So you can't vote to the others in the same content.
i.e.: there are 3 fields, which called: vote1, vote2, vote3 on the same content (content type) with different tags and you allow only one vote per fields ("Allow users to re-vote on already voted content." unchecked at vote1, vote2 and vote3). Then you vote to vote2, vote1, vote3. After page refresh you can see, only the vote2 had been saved and you can't vote to vote1 and vote3.
Patch included.
| Comment | File | Size | Author |
|---|---|---|---|
| #23 | fivestar-single_vote_multiple_tag-2451173-23-D7.patch | 566 bytes | golddragon007 |
| #4 | test_result.JPG | 139.13 KB | golddragon007 |
| #1 | fivestar-single-vote-multiple-tag-2451173.patch | 564 bytes | golddragon007 |
Comments
Comment #1
golddragon007 commentedComment #2
golddragon007 commentedComment #4
golddragon007 commentedWith the included test file my patch passes... why was this failed?
Comment #9
pp commentedChange version number, because testboot not downloads votingapi module.
Comment #11
pp commentedComment #12
golddragon007 commentedComment #13
dbt102 commentedComment #14
golddragon007 commented@dbt102: Could you explain what's the problem?
Comment #15
dbt102 commentedlooks like the patch failed testing
more info about that can be found here --> https://www.drupal.org/node/1058140
Comment #16
golddragon007 commentedretest
Comment #17
golddragon007 commentedComment #18
golddragon007 commentedWell I think it was passed, because of "PASSED: [[SimpleTest]]: [MySQL] 118 pass(es)." message at the patch (triggered by #10 comment). But I don't know how can I send this to retest it.
Comment #19
dbt102 commentedmaybe try retooling the patch and submitting it again?
doco on that is here -->
https://www.drupal.org/project/fivestar/git-instructions
Comment #20
golddragon007 commentedComment #21
golddragon007 commentedComment #22
golddragon007 commentedwell I can't do it right now, I don't have time for that... I will try it later on my local machine, the simple test and apply the patch to the current version and I will share the result here
Comment #23
golddragon007 commentedRefresh patch. (remove hunk, and try a retest)
Comment #24
dbt102 commentedNice job on getting the patch to pass @golddragon007 ... now needs review/comment and/or testing by others
Comment #25
gg24 commentedHi @golddragon007, @dbt102
I have tested patch #23 and it applies cleanly and works as expected.
Testing steps:
Issuing RTBC to it.
Thanks!
Comment #27
dbt102 commentedthanks all for the patch, testing and perseverance