AccessDeniedHttpException when coming from Algolia

Created on 9 December 2022, over 2 years ago
Updated 26 June 2023, almost 2 years ago

Problem/Motivation

Using Algolia search, I have noticed that sometime it bring me to some content without keeping me logged in.
Checking the logs, I noticed the following message:

Path: /en/taxonomy/term/1089. Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException: in Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPlugin\AccessDenied->performAction() (line 24 of /mysite/web/modules/contrib/rabbit_hole/src/Plugin/RabbitHoleBehaviorPlugin/AccessDenied.php).

Don't know if it is possible to fix and how. But what I further noticed is that after editing and saving that content, the issue disappeared. I'm therefore tagging this as minor issue, but would be great if I could escape editing all my nodes and products. Thanks for any help.

πŸ› Bug report
Status

Closed: cannot reproduce

Component

Code

Created by

πŸ‡°πŸ‡¬Kyrgyzstan dan_metille

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡¦Ukraine Matroskeen πŸ‡ΊπŸ‡¦ Ukraine, Lutsk

    To me, it looks like the Rabbit Hole "Access Denied" action is enabled for vocabulary where term 1089 exists. Therefore, when opening the term page, the action is working as expected.

    Can you please elaborate what's the expected behavior and how does this relates to Algolia search?

  • Status changed to Closed: cannot reproduce almost 2 years ago
  • πŸ‡ΊπŸ‡¦Ukraine Matroskeen πŸ‡ΊπŸ‡¦ Ukraine, Lutsk

    Since there were no additional details, the issue is closed.

Production build 0.71.5 2024