We would like to ‘force’ a reharvest any time that the reharvest button is clicked (rather than only when an item record has been updated). We thought this was successful by commenting out the section of code that sets the startFrom date in the Harvest.listRecords method as well as commenting out the date check in the Abstract._harvestLoop method. This appeared to trigger a forced reharvest (resumption tokens were being found) but the data in the items was not changing. Specifically, I manually changed a title to see if it would be updated and the modified title remained after the harvest.
Furthermore, we also tried ‘forcing’ the harvest by actually modifying the datestamp in the item record but this still did not cause an update to the data in Omeka. It seems that a reharvest is only bringing in new items from the collection but not modifying the existing items. Can someone please verify this?
We need to have this functionality work because we are using some logic that updates a custom database based on what is contained in the dc:identifier field. In many cases, the item record may not change but the transformation that configures the dc:identifier field changed. Therefore datestamp would not be updated.