Bug when only one cookie set up
1 month 2 weeks ago - 1 month 2 weeks ago #72247
by jdeacon
Bug when only one cookie set up was created by jdeacon
I think there's a bug when only one cookie is set up within Cookies CK. In my use case I am only using the Google Consent tab with Google Analytics only and no Ad and no other cookies set up in the Edition tab.
When I do this, Cookies CK does not seem to read the cookies preference, it will always revert to whatever default is set within the plugin. I think this is because within the plugin code the getCookiesckParams function is looking for the "|ck|" separator within the cookiesck cookie and if none is found, it's returning an empty array. This obviously leads to issues when there is only one cookie set up as there is no separator present.
When I do this, Cookies CK does not seem to read the cookies preference, it will always revert to whatever default is set within the plugin. I think this is because within the plugin code the getCookiesckParams function is looking for the "|ck|" separator within the cookiesck cookie and if none is found, it's returning an empty array. This obviously leads to issues when there is only one cookie set up as there is no separator present.
Last edit: 1 month 2 weeks ago by jdeacon. Reason: Formatting fix
Please Log in or Create an account to join the conversation.
1 month 1 week ago #72292
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Bug when only one cookie set up
Hi
sorry for the delay, I thought I had already answered
so I will check that by my side and I will let you know
CEd
sorry for the delay, I thought I had already answered
so I will check that by my side and I will let you know
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
1 month 1 week ago #72293
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Bug when only one cookie set up
I have released the 3.5.3 version to fix it, and you were right, the problem was exactly what you told
congrats!
![:) :)](/media/kunena/emoticons/smile.png)
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
1 month 1 week ago #72297
by jdeacon
Replied by jdeacon on topic Bug when only one cookie set up
That's great - thank you for issuing that fix so swiftly 😊
Please Log in or Create an account to join the conversation.
Time to create page: 0.847 seconds