Problem/Motivation

In the label field's JSONAPI data there is an array, because it's a compound field.

We should check for an array being there, and if so, get the main property name.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

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

joachim created an issue. See original summary.

joachim’s picture

Status: Active » Needs work

Needs the DI doing.

joachim’s picture

Title: can't pull redirects because of label field breaking rendering » pull form breaks for entities whose label field is not a string
joachim’s picture

Status: Needs work » Needs review
joachim’s picture

Status: Needs review » Fixed

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

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

Maintainers, please credit people who helped resolve this issue.

  • joachim committed f5d11bca on 4.0.x
    [#3548613] fix: pull form breaks for entities whose label field is not a...

  • joachim committed f1c70f81 on 8.x-3.x
    [#3548613] fix: pull form breaks for entities whose label field is not a...

Status: Fixed » Closed (fixed)

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