Argument #1 ($other) must be of type Drupal\Core\Access\AccessResultInterface, null given

Created on 25 September 2024, 3 months ago

Problem/Motivation

When going to overviews of entities like translation jobs from tmgmt module, it gives an access error.

Steps to reproduce

This case happens when you don't select the tmgmt entity to be exported but still gets to check the access and fails.

Proposed resolution

I think the access method should check before anything if the entity type is within the allowed entities. Then check for the access.

πŸ› Bug report
Status

Active

Version

1.4

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands e.escribano

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024