ImportService running save on an empty entity causes op failure

Created on 3 May 2024, 5 months ago
Updated 4 May 2024, 5 months ago

Problem/Motivation

I have a channel that syncs a basic page content type. The data is available in the array on the child site, but $remote_entity = $this->jsonapiHelper->extractEntity($entity_data); in docroot/modules/contrib/entity_share/modules/entity_share_client/src/Service/ImportService.php isn't adding the json endpoint values to the node object $remote_entity, resulting in db errors / operation failure when a node without a title, etc. has the save() function applied on line 461 of said file. This is a nearly vanilla installation on a pretty basic content type. Hoping I'm missing something obvious / someone can point me in the right direction.

πŸ› Bug report
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States EthanT Sarasota, Florida

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

Comments & Activities

Production build 0.71.5 2024