Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This patch adds per-run feed item and import information so that more granular reporting and/or tasks can be performed on imports. This patch is necessary for #2692945: Add ability to revert imported data (for entities that support it).
Comment | File | Size | Author |
---|---|---|---|
#6 | 2693117-6-interdiff.txt | 485 bytes | nvahalik |
#6 | 2693117-6-add_per-run_feed_item_and.patch | 15.15 KB | nvahalik |
#5 | 2693117-5-add_per-run_feed_item_and.patch | 14.68 KB | nvahalik |
Comments
Comment #2
nvahalik CreditAttribution: nvahalik at Acro Commerce commentedInitial patch. No tests, but at least lays out some of what I'm trying to accomplish here.
Comment #3
nvahalik CreditAttribution: nvahalik at Acro Commerce commentedCache results on
feeds_import_load()
.Ensure that $import->data is unserialized.
Return an object instead of an array.
Comment #4
nvahalik CreditAttribution: nvahalik commentedFixed a problem where import_ids weren't persisting for batched runs.
Import IDs now save and load with the FeedsSource object.
Added current_import_id to the table.
Fixed some SQL stuff to work better.
Comment #5
nvahalik CreditAttribution: nvahalik as a volunteer and commentedEnsure that the version ID attribute we're accessing is using the entity's defined field name.
Comment #6
nvahalik CreditAttribution: nvahalik as a volunteer and commentedEnsure that fetcher_result and current_import_id are reset during an unlock.