CacheableAccessDeniedHttpException

Created on 10 May 2023, over 1 year ago
Updated 17 May 2024, 7 months ago

Problem/Motivation

Hi,
Decided to update from working 2.0 with patch to 3.0.1:
https://www.drupal.org/files/issues/2022-07-27/legal-fix-flow-D8-2897486...

Result: Some of the users are getting logged in, but some does not give any error message and the user is not logged in.
I have a modal where user login screen opens.

Error in drupal logs:
Path: /legal_accept?token=XupOlOimSdR_MfqO5FfjSw8XxB0rZAhH099KEZdUqvA. Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException: in Drupal\Core\Routing\AccessAwareRouter->checkAccess() (line 118 of /var/www/html/site/web/core/lib/Drupal/Core/Routing/AccessAwareRouter.php).

So I had to go back to 2.0 and all works fine.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: cannot reproduce

Version

3.0

Component

Code

Created by

🇫🇮Finland Youcanlearnit

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024