core-geonetwork
core-geonetwork copied to clipboard
Importing a MEF using a Directory harvester the source name is changed
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:
- Create a Directory harvester with name
MyDirectoryHarvester
. - Add an the attached MEF file (94c05fe0-7743-4f60-84e2-2c3d40c383a1.zip) to the directory to be harvested
- Run the harvester
- Check that the name of the source in the
Source
table has changed fromMyDirectoryHarvester
toGeoCat demo
. - In the Editor dashboard, in the Provided by facet
GeoCat demo
is shown instead ofMyDirectoryHarvester
.
Expected behavior Source name shouldn't be changed .
Versions
GeoNetwork version >= 3.0.0
Tested in master
branch (v3.11.0-SNAPSHOT)