KaufmannDigital / KaufmannDigital.GDPR.CookieConsent

A ready-to-run package, that integrates an advanced cookie consent banner into your Neos CMS site.
https://www.kaufmann.digital/neos-cms/plugins/dsgvo-gdpr-cookie-consent
GNU General Public License v3.0
26 stars 11 forks source link

Bug: In backend configured Javascript is not loaded although it should be #36

Closed andrehoffmann30 closed 2 years ago

andrehoffmann30 commented 2 years ago

In the Neos backend I have configured some JavaScript, which should be loaded and execute after the user accepts the cookie banner. In the version 4.1.4 this JavaScript is not loaded anymore, because the expiration date of the cookie is i n the past. Therefore the code in row 91-94 in the JavaScriptController.php is executed and no Javascript is loaded from the backend. In my case the decisionTtl is not set and therefore 0 is used. Therefore the expiration date is always in the past.