Unknown access permission in _entity_access_by_reference_field_user_has_access()

Created on 14 April 2023, almost 2 years ago

Problem/Motivation

Exception: Unknown access permission in _entity_access_by_reference_field_user_has_access() (line 221 of modules/contrib/entity_access_by_reference_field/entity_access_by_reference_field.module).

Steps to reproduce

Sometimes pops up, when opening a node. Not clear to reproduce yet.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

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

Comments & Activities

  • Issue created by @Anybody
  • Status changed to Postponed: needs info almost 2 years ago
  • 🇩🇪Germany Anybody Porta Westfalica

    Eventually it was an old value from alpha1. I just reconfigured the fields. Let's wait, if it happens again!

  • Status changed to Closed: works as designed almost 2 years ago
  • 🇩🇪Germany Grevil

    This won't happen again, as the only allowed values are now the only values that are checked.

    The only other possible value would be "NULL" but to configure the fallback as NULL would be hard. The only state, where I can see it being NULL eventually, would be before enabling "enable_referenced_entity_permission". But before enabling that, we wouldn't even reach the switch statement.

    So I will close this issue as fixed!

Production build 0.71.5 2024