Error when using bert on computed field

Created on 1 August 2024, 5 months ago
Updated 15 August 2024, 4 months ago

Problem/Motivation

When trying to use `bert` widget on computed field we get an error:

`Call to undefined method Drupal\Core\Field\BaseFieldDefinition::save() in bert_entity_presave() (line 48 of /app/public/modules/contrib/bert/bert.module)`

Steps to reproduce

1. create a computed field
2. in form display: select bert widget

Proposed resolution

add a check if it is an entity interface before trying to save.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇧🇪Belgium akasake

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