external_entities_form_field_storage_config_edit_form_alter does not work correctly

Created on 25 July 2024, 6 months ago

Problem/Motivation

It looks for ::validateCardinality but if I inspect the callback I see [$this, 'validateCardinality'] (defined in FieldStorageConfigEditForm::getCardinalityForm()).

Steps to reproduce

Save an external entity field config.
FieldStorageConfigEditForm::validateCardinality() is called (and triggers errors in our external storage class because we don't handle deltas).

Proposed resolution

It should look for an array item containing validateCardinality.

🐛 Bug report
Status

Active

Component

Code

Created by

🇫🇷France prudloff Lille

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