An error happen when the remote entity has been deleted

Created on 21 March 2022, over 2 years ago
Updated 6 February 2024, 5 months ago

Problem/Motivation

The website encountered an unexpected error. Please try again later.
TypeError: Drupal\Component\Utility\NestedArray::getValue(): Argument #1 ($array) must be of type array, bool given, called in /var/www/html/web/modules/contrib/external_entities/src/ExternalEntityStorage.php on line 322 in Drupal\Component\Utility\NestedArray::getValue() (line 69 of core/lib/Drupal/Component/Utility/NestedArray.php).

Steps to reproduce

There are 2 website CMS and ECOM
- 1, In ECOM site create the rest view for Product entity to export as json:

- 2, In CMS site, create new External Entities Type call product, it will connect to the Product rest view in ECOM site
- 3, In CMS site, create a entity reference field for node type Article, and reference to Product External Entities
- 4, Create a Article, select product for the reference field => then save the article
- 5, In ECOM site, delete the product has selected in article
- 6, Edit the article, the error will happen

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡»πŸ‡³Vietnam phthlaap

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024