[GeoNetwork-devel] CSW harvester update metadata question

Hi

The CSW harvester executes this code in updateMetadata method of Aligner class, when the remote copy is recent than local copy:

dataMan.updateMetadata(context, dbms, id, md, validate, ufo, index, language, ri.changeDate, false);

Due to last parameter being false, the change date of the local metadata is not updated with the remote change date (ri.changeDate).

Seem a bug, but want to check as not sure if there’s any reason for this? If any one can provide feedback would be great.

Thanks and regards,
Jose García


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

Hi

No feedback about this question unfortunately, but really looks a bug to me. So I created this issue to track it: https://github.com/geonetwork/core-geonetwork/issues/538 , will check to commit the fix if possible today.

Regards,
Jose García

···

On Tue, Jun 11, 2013 at 9:32 AM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi

The CSW harvester executes this code in updateMetadata method of Aligner class, when the remote copy is recent than local copy:

dataMan.updateMetadata(context, dbms, id, md, validate, ufo, index, language, ri.changeDate, false);

Due to last parameter being false, the change date of the local metadata is not updated with the remote change date (ri.changeDate).

Seem a bug, but want to check as not sure if there’s any reason for this? If any one can provide feedback would be great.

Thanks and regards,
Jose García


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net