- Issue created by @adamzimmermann
- πΊπΈUnited States adamzimmermann
I went through the module with xdebug and confirmed that the core queue code looked at each queue item in the order I would expect.
However, the
Drupal\migrate_source_queue\EventSubscriber\QueueItemDeleteSubscriber::onPostRowSave
was only called once, which indicates to me that this is related to how the source plugin iterator defines a "row" for the migration.I'm beginning to wonder if this is this module working as intended or if I need to prevent "duplicates" from being put into the queue.
However, given the nature of queues, it seems like there should way to have this module use the most recent version of an item in a queue.
I'm going to continue to test some things in
\Drupal\migrate_source_queue\QueueIterator
. - Status changed to Closed: works as designed
almost 2 years ago 9:00pm 10 May 2023 - πΊπΈUnited States adamzimmermann
I believe I just solved this with the
track_changes
source
property.https://www.drupal.org/docs/8/api/migrate-api/migrate-source-plugins/ove... β
source: track_changes: true
I think we can close this, but hopefully this helps someone else who encounters this.