Opened 12 years ago

Last modified 12 years ago

#1006 new defect

OGC WMS Harvest - No layer thumbnail displayed in search results

Reported by: awalsh Owned by: geonetwork-devel@…
Priority: major Milestone: v2.8.0
Component: General Version: v2.8.0RC1
Keywords: OGC WMS thumbnail Cc: simon.pigot@…, craig.jones@…

Description

Testing master-core GN from GIT commit 0a31ef.. (27/7/12, J. Garcia) + ANZMEST plugin SVN 9272. Environment Windows XP, Jetty with postgres/postgis GN db.

I test a OGC WMS 1.1.1 harvest off our geoserver at www.metoc.gov.au/geoserver. The service and metadata records are generated OK and the thumbnail .png are made OK in the metadata_data for each layer/record. However the XML is missing for the gmd:graphicOverview><gmd:MD_BrowseGraphic> .... which holds the thumbnail reference is missing so no thumbnail is displayed in the search results. Don't see any related error msgs. in the logs.

Change History (3)

comment:1 by awalsh, 12 years ago

Milestone: v2.8.0v2.8.0 RC2
Version: v2.8.0RC0v2.8.0RC1

This is still an issue when I test with V2.8.0RC1 so changing the version to that. Also change the milestone to v2.8.0 RC2, hope that it can be fixed in the 2nd release candidate.

Andrew

comment:2 by ianwallen, 12 years ago

Milestone: v2.8.0 RC2v2.8.0

comment:3 by awalsh, 12 years ago

I revisted this issue today with GN2.8RC2 and it seems to go away but only if you use postgres/postgis as a db. Still some problem with using the default db h2. With h2 the GN log says:

"problem adding thumbnail "Timeout trying to lock table SQL statement SELECT * FROM Metadata WHERE id = ? [50200-152]"

Looking at the metadata search results I see only 1 thumbnail displayed for 1 layer record (I had 5 layer records in my geoserver WMS) However all the thumbnail are there on disc in the data directory, strange?

Anyway if you use a production grade db like postgres/postgis seems no problem but issues still with h2

Andrew

Note: See TracTickets for help on using tickets.