Instead of changing dislike count, like count is changing while clicking dislike button after upgrading to version 2.0.0
Iam using ,
Drupal :10.2.4
PHP: 8.2.14
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | Screencast from 08-09-25 12_35_59 AM IST.mp4 | 915.06 KB | divya.sejekan |
| #4 | like_and_dislike-fix_dislike-3432104-4.patch | 1.71 KB | pavelgerasuta |
Issue fork like_and_dislike-3432104
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
pavelgerasuta commentedI created a patch so that it could be applied before the branch was accepted.
Comment #5
volmanThe bug still exists on Like & Dislike 2.0.1.
I reproduced it on Drupal 11.2.4 with PHP 8.3.24.
#4 fixed it and works live on my production site.
Thanks @pavelgerasuta!
Comment #6
divya.sejekan commentedApplied MR!8 . Fix is working and issue is resolved
Steps :
Enable the like and dislike button in Content type
Verify the dislike button
Fix works
Comment #9
berdirConfirmed manually, the tests also fails without this, they just don't run due to misconfigured CI that I'll get to after getting the most obvious fixes in.