\Drupal\Core\DefaultContent\Importer::setFieldValues should check if the field exists

Created on 19 April 2024, 12 months ago

Problem/Motivation

Pointed out by @larowlan in ✨ Add recipes api as experimental API to core Needs review - we don't check if the entity has a field before we set it.

Steps to reproduce

Proposed resolution

Decide what to do. Log and skip vs error
See what the default content issue queue has in it.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

11.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

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

Comments & Activities

Production build 0.71.5 2024