- Issue created by @doxigo
- π³π±Netherlands ahmetburkan Utrecht
There is a workaround at the moment. Manually enabling the "js_cookie" contrib module.
- Merge request !59Added new update hook to make sure js_cookie is enabled β (Open) created by ahmetburkan
- Status changed to Needs review
6 months ago 2:38pm 24 May 2024 - π³π±Netherlands ahmetburkan Utrecht
Created merge request and patch. This is ready to be reviewed.
- π³π±Netherlands eelkeblok Netherlands π³π±
Updated title and issue summary
- π³π±Netherlands eelkeblok Netherlands π³π±
Code looks good. I also upgraded this to major. I haven't functionally tested the changes yet.
- Status changed to Needs work
6 months ago 10:38am 27 May 2024 - π³π±Netherlands eelkeblok Netherlands π³π±
I've just deployed the changes with the module enabled, but I still see these errors. One part I did not give much notice, but is really kind of weird, is that the error says that the theme js_cookie is not enabled...
- Status changed to Needs review
6 months ago 11:54am 27 May 2024 - π³π±Netherlands eelkeblok Netherlands π³π±
Sorry for the confusion. Something went wrong, errors are resolved after enabling the module. What remains is a functional test of the update hook.
- πΊπΈUnited States mglaman WI, USA
Came here to mention this. It was added in π Use GitLab CI for testing Fixed without its own specific issue to explain why.
- Status changed to Needs work
6 months ago 3:09pm 29 May 2024 - First commit to issue fork.
- Merge request !61Issue #3449275: JS Cookie needs to be enabled automatically when updating. β (Merged) created by the_g_bomb
- Status changed to Needs review
5 months ago 3:15pm 20 June 2024 - π¬π§United Kingdom the_g_bomb
Create a new PR as the other one looks to be open against the 8.x-1.x branch.
Made the alteration suggested by @ericgsmith
- π§πͺBelgium herved
Hi, would it be possible to remove the js-cookie dependency entirely?
I only realized now but the lib uses a CDN (both core/js-cookie and the contrib) and goes against our current CORS policy on several projects.
Looking at the autologout JS it looks rather easy/feasible but I wanted to ask here before creating a new issue.Thanks
- Status changed to RTBC
4 months ago 2:12pm 31 July 2024 - π³π±Netherlands ahmetburkan Utrecht
I tested the functionality, and it works as expected! Updating the status.
As for the comment above, I think we should consider a new ticket. Because currently we have a bug, and the suggestion sounds more like a feature.
If we want to fix the way the dependency is loaded in this ticket, feel free to set the status back to "Needs work".
- π³πΏNew Zealand ericgsmith
If we want to fix the way the dependency is loaded in this ticket, feel free to set the status back to "Needs work".
I think your suggestion to create a new ticket is correct - this is a bug fix for something that is already released and the MR fixes this - IMO lets not delay fixing this based on another option at this point. Sounds like a good discussion to move to a new issue
+1 for RTBC
- π¬π§United Kingdom the_g_bomb
+1 to remove the dependency, but I agree it should be a new ticket. Would be good to get this merged.
- π³π±Netherlands ahmetburkan Utrecht
Is it possible to get this merged?
- First commit to issue fork.
-
japerry β
committed 47213e6b on 2.x authored by
the_g_bomb β
Issue #3449275: JS Cookie needs to be enabled automatically when...
-
japerry β
committed 47213e6b on 2.x authored by
the_g_bomb β
- Status changed to Fixed
4 days ago 7:36pm 21 November 2024 - πΊπΈUnited States japerry KVUO
I'll merge this in to fix the immediate problem. the Contrib JS cookie was added because of its removal from core... however I'd need to look back and figure out where that code is being derived from in this module. Agree that its a separate ticket.
-
japerry β
committed 47213e6b on 8.x-1.x authored by
the_g_bomb β
Issue #3449275: JS Cookie needs to be enabled automatically when...
-
japerry β
committed 47213e6b on 8.x-1.x authored by
the_g_bomb β