Closed (fixed)
Project:
Klaro Cookie & Consent Management
Version:
3.0.8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jan 2026 at 09:16 UTC
Updated:
1 Jul 2026 at 07:35 UTC
Jump to comment: Most recent
Comments
Comment #2
anybodyComment #3
anybody@van.dordafog I think #3568267: Scripts matching source + Opt-Out + Toggled by default (+required) should not get blocked server-side might be the better and cleaner approach and I think required is not enough?
Comment #4
mikell commentedThis patch made the oidc mcpf work for me together with patch from issue https://www.drupal.org/project/klaro/issues/3531419
Comment #5
anybody@mikell did you try #3568267: Scripts matching source + Opt-Out + Toggled by default (+required) should not get blocked server-side instead? It's RTBC'd already and I think should solve that even better.
Comment #6
mikell commented@anybody yes I tried but the toolbar.js from oidc_mcpf is not loading on time. Maybe I'm still missing something.
My configuration:
I added the burgerprofile as functional service and enabled settings:
'Toggled by default', 'Required', 'Opt out'
With following sources:
'Block unknown external resources' and 'Process final HTML' is enabled.
'.*vlaanderen\.be.*' is added on 'Disable Klaro! element and dont block attributed resources on following url patterns'
Comment #7
jan kellermann commentedOptOut is buggy in klaro_js. See this issue: https://www.drupal.org/project/klaro_js/issues/3508237
Testing this MR would be great to step forward to next version of klaro.
Comment #8
anybody@mikell: Your configuration looks correct and I'd code-wise expect #3568267: Scripts matching source + Opt-Out + Toggled by default (+required) should not get blocked server-side to fix your issue. Maybe I'm missing something?
The MR also has tests, so I think this one should be closed as duplicate, but we need to find out if and why it doesn't work in your case. Maybe indeed a side-effect of #3508237: Bugfix for #536: Check for optOut state while contextual rendering in your case?
Comment #9
jan kellermann commentedPlease review 3.1.x
Can you please check Klaro 3.1.0-RC? We updated the Klaro JS and fixed the Bug for services with optout-Option.
Comment #10
anybody@mikell @van.dordafog could you try that please?
Comment #11
mikell commentedI have tested this with 3.1.0-rc2 and can confirm that it works for me.
Comment #12
jan kellermann commentedComment #13
jan kellermann commentedFixed in 3.1.0
Thank you all for your work!
Comment #15
anybodyThank YOU @jan kellermann! :)
Comment #16
anybodyNice! Happy to try 3.1.0 with the many improvements! :)