Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
When clicking the Decline button for Opt-out consent, the cookies are not removed until the next page load.
Steps to reproduce
Enable Opt out consent, clear cookies, click Decline
Comments
Comment #2
svenryen CreditAttribution: svenryen at Ramsalt Lab commentedHere are patches that resolve the issue.
Comment #3
svenryen CreditAttribution: svenryen at Ramsalt Lab commentedTest notes:
1) Enable Opt out method.
2) Confirm that random cookie is not purged,
3) Click Decline and confirm that random cookie is cleared within 5 seconds.
Comment #6
Neslee Canil Pinto