Insert metadata method and change date

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Insert metadata method and change date

Jose Garcia
Hi

The method DataManager.insertMetadata used in CSW-T and harvesters forces
the no update of the datestamp by update-fixed-info process:

https://github.com/geonetwork/core-geonetwork/blob/develop/core/src/main/java/org/fao/geonet/kernel/DataManager.java#L1585-L1586

Does anybody know the reason for this? This causes the db field for the
change date gets the current system date, but the metadata change date
(gmd:dateStamp for iso19139) are different.

While if the metadata is edited, both db and xml field are keep in synch.

Should be a reason for previous behavior, if someone knows please can you
confirm the reasons? Maybe to don't alter the metadata imported? But in
that case the db change date should not be extracted from the xml instead
of getting the system date?

Regards,
Jose García

--













*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/>Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv>
<https://twitter.com/geocat_bv>
<https://plus.google.com/u/1/+GeocatNetbv/posts>Please consider the
environment before printing this email.*
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoNetwork-usuarios-es mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-usuarios-es