Not updating existing nodes

Created on 21 June 2025, about 1 month ago

On the origin site, I use export to generate a zip from multiple selected nodes. The zip contains the expected yml files and assets.

On the target site, I use the upload from zip option to import that zip file.

Any nodes from the origin that didn't already exist in the target appear to get created correctly.

But nodes that already existed in the target don't get touched. I've confirmed that the UUIDs and NIDs match. And it's the same result whether I've opted to require the site UUID to match or not.

It seems to have something to do with ContentImporter->importCustomValues() calling ContentImporter->setFieldValue(). If I track the state of the entity, if it's a node before that function runs, it stops being a node afterward. And indeed if I put a debug at the beginning of importCustomValues(), it is no longer a node after setFieldValue() is fired. So it's never saved.

πŸ› Bug report
Status

Active

Version

1.4

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States datawench

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

Comments & Activities

Production build 0.71.5 2024