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
When you configure an import with a parent (i.e. importing a tree structure) the import uses the parent attribute where the id of the parent element is stored. However, in Craft this attribute is called parentId. This results in a bug where every child element will incorrectly determine that its parent has changed.
This in turn results in an additional element save and its associated overhead in DB calls and element revisions.
Steps to reproduce
Configure an import with a nested structure
Run the feed in debug and see that none of the child elements will say that the element was skipped, see image below
A fix is available here: #1313. With the changes in this PR every child element will correctly determine that it has not changed and can be skipped, see image below
Additional info
Craft version: Craft Pro 4.4.16.1
PHP version: 8.1.24
Database driver & version: MySQL 8.0.25
Plugins & versions: Feed Me 5.2.0
The text was updated successfully, but these errors were encountered:
Description
When you configure an import with a parent (i.e. importing a tree structure) the import uses the
parent
attribute where theid
of the parent element is stored. However, in Craft this attribute is calledparentId
. This results in a bug where every child element will incorrectly determine that its parent has changed.This in turn results in an additional element save and its associated overhead in DB calls and element revisions.
Steps to reproduce
A fix is available here: #1313. With the changes in this PR every child element will correctly determine that it has not changed and can be skipped, see image below
Additional info
The text was updated successfully, but these errors were encountered: