Closed (fixed)
Project:
Cookiebot - Cookie consent, Cookie monitoring and Cookie control
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2022 at 08:41 UTC
Updated:
12 Jan 2024 at 15:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
pontus.talvikarhu commentedComment #3
jhuhta commentedNice patch with the upgrade path included, and fixes the problem for us.
I started to think that maybe this feature of showing the declaration shouldn't be limited to nodes, but also allow it on any other page type as well. But that would be a broader change clearly out of scope of this issue.
Comment #4
bramdriesenLooks good! Very thorough patch. Will commit soon.
Comment #6
bramdriesenComment #7
webflo commentedUpdate hook cookiebot_update_8003 fails when cookiebot_show_declaration_node is empty (not configured).
Comment #8
bramdriesenLooks like we need an extra condition in the update hook then.
Comment #10
bramdriesenComment #12
jamsilver commentedRaised a follow up issue, requesting we store this node reference as a UUID rather than an ID to make it simpler to script the set-up and deployment of this module: https://www.drupal.org/project/cookiebot/issues/3414375