Hi
In the use list has been a discussion about issues with WMS harvester thumbnails (thumbnails not show harvesting WMS geonetwork 10).
The problem seemed mostly related to the url format, at least in previous versions I think you could add in the url the request=GetCapabilities and worked, but seem no more.
But even fixing this**, in the classic UI thumbnails were still not displayed**. I have identified that the metadata instead of ending with 2 gmd:graphicOverview
, one with fileDescription= thumbnail and other with fileDescription=large_thumbnail, has only 1, with the last one (fileDescription=large_thumbnail).
The problem is in **DataManager.**manageThumbnail that calls:
Element md = getMetadata(context, id, forEditing, withValidationErrors, keepXlinkAttributes);
This method creates a new Dbms connection from the context and seem not seeing the previous updates done by the harvester to the metadata. Changing the line to:
Element md = getMetadata(dbms, id);
works ok, but the last method does nothing with XLinks (indeed doXLinks variable is defined, but not used). I guess can be changed to support the XLinks stuff, but any other feedback is welcome.
Also if obtaining a Dbms connection from the same ServiceContext doesn’t see the changes done by other Dbms obtained with the same ServiceContext, seem can cause side effects in the code as the one described in other parts of the application. Not sure if this has been always like this?
As said any feedback is welcome.
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