-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing title will always save the entry even when the title remains the same #1219
Comments
A similar issue occurs when importing dates, i.e. the craft postDate. A fix for this can be found in #1223 |
Since making this issue I have found several more issues, I have patched them locally so I can continue in the hopes of removing the patch once a fix is made in this library by the author. Is this likely to happen? I see very little activity and many open issues and pull requests... |
Resolved in #1218 - thanks! Feel free to keep making PRs/issues @boudewijn-zicht - going to be spending the next few months doing a housecleaning and bug-fixing sprint on Feed Me. |
That is very nice to hear, thanks! |
Feed Me 4.6.0 (Craft 3) and 5.1.0 (Craft 4) have been released with the #1218 changes 🎉 |
Description
There is a bug in the code that compares the element's attributes (this includes the title) with the new imported data. Currently this always determines that the element attributes have changed, even when they did not.
This results in an element save event and all the additional overhead that this causes, i.e. database growth because of revisions.
Steps to reproduce
{"data":[{"title":"Imported A"}]}
A fix is already available, see #1218
The text was updated successfully, but these errors were encountered: