Link with reference to unpublished node causes fatal error during import

Created on 24 April 2024, 9 months ago

Problem/Motivation

Error: Call to a member function getEntity() on null in Drupal\acquia_contenthub\EventSubscriber\UnserializeContentField\LinkFieldUnserializer->getEntityFromDependencyStack() (line 125 of /var/www/html/docroot/modules/contrib/acquia_contenthub/src/EventSubscriber/UnserializeContentField/LinkFieldUnserializer.php)

Steps to reproduce

  1. Setup link field with unpublished node
  2. Try to import this content on other site

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.4

Component

Code

Created by

🇵🇱Poland lamp5 Rzeszow

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