Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Do NOT use this BUGGY library #152

Open
hsq125 opened this issue Oct 28, 2024 · 1 comment
Open

[Bug] Do NOT use this BUGGY library #152

hsq125 opened this issue Oct 28, 2024 · 1 comment

Comments

@hsq125
Copy link

hsq125 commented Oct 28, 2024

Ngx-CookieConsent Version

6

CookieConsent Version

3

Angular CLI (or Nx CLI) Version

18

Node Version

20

OS Version

Ubuntu

Expected Behaviour

Not crashing in the middle of nowhere !

Actual Behaviour

This lbrary crash almost everywhere you would not expect. On your few development computers, you can check that everything is OK, but when you expose it to the entire world, then you can see errors of all kinds literaly flooding your monitoring.

Here is an example, but there are at least 6 other weird crash cases.


Stack Trace
TypeError
Cannot read properties of undefined (reading 'content')
{snip} is.ccService.getConfig().content=this.ccService.getConfig().content||{},this.ccService.getConfig().content.header=m["cookie.

My advice is to avoid this buggy library. The code is a gas factory that has a disgusting integration with the vanilla cookieconsent library. Problem guaranteed.

Steps to reproduce the behaviour

Just load it in your project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@hsq125 and others