Tests: field_permissions_entity_field_access field_definition is a base field

Created on 12 July 2023, 11 months ago
Updated 19 February 2024, 4 months ago

Problem/Motivation

We need a test to check what happens if you pass a non-config field to field_permissions_entity_field_access the coming out of https://www.drupal.org/project/field_permissions/issues/3373500 πŸ› TypeError: Drupal\field_permissions\FieldPermissionsService::fieldGetPermissionType(): Argument #1 ($field) must be of type Drupal\field\FieldStorageConfigInterface Fixed .

Proposed resolution

We need to pass in an field with a class like BaseFieldDefinition that also has a configurable display. The Taxonomy "description" field should work well to test this.

Remaining tasks

Write the test

πŸ“Œ Task
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mariacha1

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

Comments & Activities

Production build 0.69.0 2024