geonetwork / core-geonetwork

GeoNetwork is a catalog application to manage spatially referenced resources. It provides powerful metadata editing and search functions as well as an interactive web map viewer. It is currently used in numerous Spatial Data Infrastructure initiatives across the world.
http://geonetwork-opensource.org/
GNU General Public License v2.0
412 stars 487 forks source link

Use change date for comparison option on GeoNetwork harvester is not working as expected #5649

Closed jonescc closed 5 months ago

jonescc commented 3 years ago

Describe the bug Unchecking 'Use change date for comparison" has no effect in Geonetwork 3.10.6 - it's not possible to pick up minor edit's using the GeoNetwork harvester as described for this option.

To Reproduce Steps to reproduce the behavior:

  1. Set up a harvester in one Geonetwork instance to harvest a record from another instance
  2. Harvest the record
  3. Modify the record and save as a minor edit
  4. Run the harvester again record again unchecking the 'Use change date for comparison" option so that the minor edit is picked up
  5. The changes aren't picked up - whether the option is checked or unchecked - it always uses the change date

Expected behavior If the option is not checked minor edits should be picked up.

Desktop (please complete the following information):

Additional context This option is checked prior to retrieving the mef file, and the mef file containing the updated record is retrieved but the option is not checked when comparing the change dates again prior to updating the record.

jonescc commented 3 years ago

Might be worth renaming the option to something a bit clear as well - e.g. "Ignore minor edits"