KaufmannDigital.GDPR.CookieConsent
KaufmannDigital.GDPR.CookieConsent copied to clipboard
A ready-to-run package, that integrates an advanced cookie consent banner into your Neos CMS site.
Homepage rendering that relies on documentNode context fails when being rendered in backend since the context is not correct. Suggestion: ``` renderer = Neos.Fusion:Renderer { type = ${site.nodeType.name} @context.node =...
Make sure `$consents` is an array instead of `null` when not set in `$cookie` at all. Fixes #47
``` Exception in line 120 of /…/Data/Temporary/Production/SubContextLive/SubContextWww/Cache/Code/Flow_Object_Classes/KaufmannDigital_GDPR_CookieConsent_Controller_JavaScriptController.php: in_array(): Argument #2 ($haystack) must be of type array, null given 41 in_array() 40 KaufmannDigital\GDPR\CookieConsent\Controller\JavaScriptController_Original::renderJavaScriptAction() 39 KaufmannDigital\GDPR\CookieConsent\Controller\JavaScriptController::renderJavaScriptAction() 38 KaufmannDigital\GDPR\CookieConsent\Controller\JavaScriptController::Flow_Aop_Proxy_invokeJoinPoint() 37 Neos\Flow\Aop\Advice\AdviceChain::proceed() 36 Neos\Flow\Security\Aspect\PolicyEnforcementAspect_Original::enforcePolicy()...
closes #40
Fixes a `Notice: Undefined index: KD_GDPR_CC` warning when the cookie is not yet set by the user.
Problem: In Neos Backend the object KD_GDPR_CC is not initialized, hence the following check in Initialize.js is throwing an error: L21: `if (KD_GDPR_CC && document.cookie.indexOf(KD_GDPR_CC.cookieName) >= 0) {` The check...
We should give a better error-code or redirect here
With enabled logging, the Database blows up very fast. We could create an cronjob, which creates static historical statistics and removes logs then.