- πΊπΈUnited States fozzieblue
I'm not able to update the poll module to 1.5 or 1.6.
My Drupal site is running the following:
- poll module 8.x-1.4
- Drupal 9.5.8
- I am using patch #35 from this issue.When I run `composer update drupal/poll` I get the following error:
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2020-10-21/poll-unlimited-votes-2909811-35.patch [Exception] Cannot apply patch Anonymous users - Multiple voting from one IP (https://www.drupal.org/files/issues/2020-10-21/poll-unlimited-votes-2909811-35.patch)!
I removed the patch and was able to update the poll module to 8.x-1.6. But updating with out the patch in #35, the poll module no longer allows multiple votes from the same IP.
Is anyone else able to update poll to 8.x-1.6 and still use patch #35?
- π¬π§United Kingdom NaheemSays
Can an alternative approach be to differentiate by mac address?
I dont think it is as common for different devices from the same IP address to be shared between multiple users as much as it was say 10 years ago, so if we still want to try and differentiate voters, it may be reasonable to look at distinguishing based on something other than IP address.
- Assigned to BramDriesen
- π§πͺBelgium BramDriesen Belgium π§πͺ
Using this for a long time on a few projects. Would love to incorporate this on the new 2.0.x release.
Re #44: Not sure, I think the main thing used is still IP's. E.g. we still have the IP ban module, CDN's like CloudFlare offer IP bans but not Mac address bans.
- Merge request !30Issue #2909811: Anonymous users - Multiple voting from one IP β (Open) created by BramDriesen
- π§πͺBelgium BramDriesen Belgium π§πͺ
Ready for review once more.
Also updating credits for everyone who actively (and meaningful) participated on this issue for the last 6 years π.
- Issue was unassigned.
- ivnish Poland
Needs reroll
error: patch failed: src/Form/PollViewForm.php:247
error: src/Form/PollViewForm.php: patch does not apply
error: patch failed: src/Form/PollViewForm.php:204
error: src/Form/PollViewForm.php: patch does not apply - Status changed to Needs work
4 months ago 12:50pm 9 March 2024 - π§πͺBelgium BramDriesen Belgium π§πͺ
Thanks @Berdir! This also needs a rebase now and a change in ID for the install/update hook
- First commit to issue fork.
- π§πͺBelgium cgoffin
I rebased the changes from the dev branch. Here also an up to date patch.
- π§πͺBelgium cgoffin
There was a missing newline at the end of the patch file. Here the new version.
- πΊπ¦Ukraine lobodacyril
#54 patch stopped working after last updates on dev branch.