core-geonetwork icon indicating copy to clipboard operation
core-geonetwork copied to clipboard

Importing a MEF using a Directory harvester the source name is changed

Open juanluisrp opened this issue 4 years ago • 0 comments

Describe the bug When a MEF file is harvested using a Directory type harvester the name of the source is changed to the one described in the info.xml contained in the MEF file.

To Reproduce Steps to reproduce the behavior:

  1. Create a Directory harvester with name MyDirectoryHarvester.
  2. Add an the attached MEF file (94c05fe0-7743-4f60-84e2-2c3d40c383a1.zip) to the directory to be harvested
  3. Run the harvester
  4. Check that the name of the source in the Source table has changed from MyDirectoryHarvester to GeoCat demo.
  5. In the Editor dashboard, in the Provided by facet GeoCat demo is shown instead of MyDirectoryHarvester.

Expected behavior Source name shouldn't be changed .

Versions GeoNetwork version >= 3.0.0 Tested in master branch (v3.11.0-SNAPSHOT)

juanluisrp avatar Feb 27 '20 12:02 juanluisrp