You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A feed mapping to an entry field which has the maintain hierarchy option enabled breaks the unchanged content feature. In other words, Feed Me will consider the element changed because the "new" content data only contains the leaf.
Expected output
Node `#1` skipped. No content has changed.
Array
(
[productName] => Vinegar-Champagne Reims
[productBrand] => Array
(
[0] => 30205
)
[productCategory] => Array
(
[0] => 72444
[1] => 72487
)
[productSku] => X-VIN176C
[productSize] => 500 ML
)
Processing 1 elements finished in 0.19s
Perhaps the contentData needs to be passed through something that will "fill gaps in element" if maintainHierarchy.
ccchapman
changed the title
Mapping to entry field with maintain hiearchy breaks unchanged content feature
Mapping to entry field with maintain hierarchy breaks unchanged content feature
Mar 20, 2024
Description
A feed mapping to an entry field which has the maintain hierarchy option enabled breaks the unchanged content feature. In other words, Feed Me will consider the element changed because the "new" content data only contains the leaf.
Expected output
Actual debugging output
For the time being, I have written a "hack" to workaround the issue.
Expand "hack"
Steps to reproduce
Products
andProduct Categories
(the latter should be a structure)Product Category
with maintain hierarchy option enabledProduct Categories
section, the second one nested under the firstProducts
and setup mapping toProduct Category
fieldAdditional info
The text was updated successfully, but these errors were encountered: