Closed (fixed)
Project:
Klaro Cookie & Consent Management
Version:
3.1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Oct 2025 at 19:57 UTC
Updated:
15 Jul 2026 at 08:00 UTC
Jump to comment: Most recent
Comments
Comment #3
frouco commentedReady for review
Comment #4
anybodyThanks @frouco - code-wise this totally makes sense.
Additionally I'd vote to convert all these if's to either a switch statement or at least else-if's, because they are all exclusive and simply doesn't make sense to evaluate them all once one matches.
My favourite, also as fix here, would be a switch statement, but @jankellermann should decide finally
Comment #5
marcelovaniIf we have a simple solution to fix the issue, why don't we just merge this and then @anybody can create a new ticket to refactor things
Comment #6
anybodyThanks @marcelovani for your helpful comment. Please mind that I'm not blocking this, I just left my review and opinion and I think currently the maintainers here don't have much time to look into issues.
I just took the time and changed things as written.
Please review.
Anyway, no bad intentions from my side, we're one community! :)
Comment #8
jan kellermann commentedFixed some DCS. Maybe @frouco or @marcelovani could review? Thank you all for your work.
Comment #9
marcelovaniLooks good to me.
ps: Haven't manually tested, just reviewed the changes.
Comment #10
jan kellermann commentedComment #11
anybody@jan kellermann what's your oppinion on #4? (to get a final statement here)
Comment #12
jan kellermann commentedDoing it in two steps would indeed have been clearer. But once it's finished and has an RTBC, it would be unnecessary work to split it up.
So please RTBC.
Comment #13
anybodyThanks, fine!
Comment #15
jan kellermann commentedThank you for your work! The changes are merged.