Prevent loading NULL target entity

Created on 3 July 2023, over 1 year ago

Problem/Motivation

Warning: array_flip(): Can only flip string and integer values, entry skipped in /var/www/html/htdocs/core/lib/Drupal/Core/Entity/EntityStorageBase.php on line 312

Steps to reproduce

When target value is NULL (might be a case when using content moderation, so loading previous revision does not contain target value)

πŸ› Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine nginex

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

Comments & Activities

Production build 0.71.5 2024