Open Closed

Accept Cookies Issue #7402


User avatar
0
ed_developer1 created

ABP Framework version: UI Type: Angular (v7.0.2) Backend (v8.0.4) Database System: EF Core (SQL Server) .net 8 is .framework.IIS 10 on windows server 2019 Data center

So, basically I am facing one problem when I accept the cookies but when I visit the site again then still the popup will appear for accepting the cookies and from my knowledge when you accept the cookie then it will never appear for same browser. This is the problem I am facing in my angular website and for your convivence I am using Angular 15 with **abp **version of 7.0,2. And we are unable to upgrade the packages due to some dependency issues as we have multiple packages which are not supported by Angular 17.


4 Answer(s)
  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    Hi ed,

    Is it same problem in here ?: https://support.abp.io/QA/Questions/5957/Gdpr-Module-Always-Shows-The-Consent-Even-It-is-accepted

  • User Avatar
    0
    ed_developer1 created

    Yes sort off, But here I am not using any custom code for accepting the cookie I am using this <abp-gdpr-cookie-consent></abp-gdpr-cookie-consent> and I have upgraded the abp version from 7.0.2 to 7.4.1 but I am facing some error related to abp packages This is my angular.json file

    { "name": "Wbi", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve --open", "build": "ng build", "build:prod": "ng build --configuration production", "build:dev": "ng build --configuration dev", "watch": "ng build --watch --configuration development", "test": "ng test", "lint": "ng lint", "postinstall": "npm run compile:ivy", "compile:ivy": "yarn ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points --tsconfig './tsconfig.prod.json' --source node_modules" }, "private": true, "dependencies": { "@abp/ng.components": "~7.4.1", "@abp/ng.core": "~7.4.1", "@abp/ng.oauth": "~7.4.1", "@abp/ng.setting-management": "~7.4.1", "@abp/ng.theme.shared": "~7.4.1", "@angular-slider/ngx-slider": "^17.0.2", "@angular/animations": "^15.0.1", "@angular/common": "^15.0.1", "@angular/compiler": "^15.0.1", "@angular/core": "^15.0.1", "@angular/forms": "^15.0.1", "@angular/localize": "^15.0.1", "@angular/platform-browser": "^15.0.1", "@angular/platform-browser-dynamic": "^15.0.1", "@angular/router": "^15.0.1", "@ant-design/icons-angular": "^15.0.0", "@ckeditor/ckeditor5-angular": "^7.0.1", "@ckeditor/ckeditor5-build-classic": "^40.2.0", "@googlemaps/js-api-loader": "^1.16.6", "@types/googlemaps": "^3.43.3", "@volo/abp.commercial.ng.ui": "~7.4.1", "@volo/abp.ng.account": "~7.4.1", "@volo/abp.ng.audit-logging": "~7.4.1", "@volo/abp.ng.gdpr": "~7.4.1", "@volo/abp.ng.identity": "~7.4.1", "@volo/abp.ng.language-management": "~7.4.1", "@volo/abp.ng.openiddictpro": "~7.4.1", "@volo/abp.ng.saas": "~7.4.1", "@volo/abp.ng.text-template-management": "~7.4.1", "@volosoft/abp.ng.theme.lepton-x": "^2.0.0-rc.2", "jquery": "^3.7.1", "json-server": "^0.17.3", "jstree": "^3.3.16", "moment": "^2.29.4", "ng-wizard": "^1.3.0", "ngx-indexed-db": "^17.1.0", "ngx-infinite-scroll": "15", "ngx-mask": "^15.1.3", "ngx-scrollbar": "^11.0.0", "ngx-webcam": "^0.4.1", "rxjs": "7.5.6", "tslib": "^2.1.0", "zone.js": "~0.11.4" }, "devDependencies": { "@abp/ng.schematics": "~7.4.1", "@angular-devkit/build-angular": "^15.0.1", "@angular-eslint/builder": "~15.1.0", "@angular-eslint/eslint-plugin": "~15.1.0", "@angular-eslint/eslint-plugin-template": "~15.1.0", "@angular-eslint/schematics": "~15.1.0", "@angular-eslint/template-parser": "~15.1.0", "@angular/cli": "^15.0.1", "@angular/compiler-cli": "^15.0.1", "@angular/language-service": "^15.0.1", "@types/jasmine": "~3.6.0", "@types/node": "^12.11.1", "@typescript-eslint/eslint-plugin": "^5.36.2", "@typescript-eslint/parser": "^5.36.2", "eslint": "^8.23.0", "jasmine-core": "~4.0.0", "karma": "~6.3.0", "karma-chrome-launcher": "~3.1.0", "karma-coverage": "~2.1.0", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.7.0", "ng-packagr": "^15.0.1", "typescript": "~4.8.3" } }

    older version was 7.0.2. can you tell me where I am wrong because after upgrading my projects stops running. Or may be we can sechdule a call for that if possible ?

  • User Avatar
    0
    ed_developer1 created

    Hi ed,

    Is it same problem in here ?: https://support.abp.io/QA/Questions/5957/Gdpr-Module-Always-Shows-The-Consent-Even-It-is-accepted

    Hello @masum.ulu , Is there any updates here ?

  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    Hi again, your @angular packages version seems like not normalized can you convert to all @angular/ and @angular- packages to ~15.0.0 and try again please

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09