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.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

prudloff created an issue. See original summary.

prudloff’s picture

Status: Active » Needs review

  • 67bef1da committed on 3.0.x
    Issue #3463731 by prudloff:...
guignonv’s picture

Status: Needs review » Reviewed & tested by the community

Same issue on 3.0.x. Tested patch and merged on 3.0.x. Thanks! I let v2 maintainers apply it to v2.

pefferen made their first commit to this issue’s fork.

pefferen’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for the fix, added it to the 2.x branch now

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.