geonetwork / core-geonetwork

GeoNetwork is a catalog application to manage spatially referenced resources. It provides powerful metadata editing and search functions as well as an interactive web map viewer. It is currently used in numerous Spatial Data Infrastructure initiatives across the world.
http://geonetwork-opensource.org/
GNU General Public License v2.0
432 stars 489 forks source link

Difficulties for integrating/linking WFS/WMS geoservices into metadata record (slowness) #8501

Open image80 opened 1 week ago

image80 commented 1 week ago

With GeoNetwork 4.2.3, I'm facing difficulties regarding one record. I don't notice this problem for all records, just this one. The problem is for integrating/linking WFS/WMS within the metadata record. I succeed without problem in loading the data (postgis layer) into QGIS (WFS/WMS).For information, the WFS/WMS geoservices are published thanks to GeoServer. So when editing the metadata record and trying to link/integrate the WMS/WFS the page becomes really slow :

image

souci_edition_stations_groix

And I assume that the geoservices are not functional if integrated into the record. I tried to reindexed this record but that didn't change anything.

Moreover, When I authenticate (admin) on the catalog, I can't access the record editing interface. There is a message saying 'An error occurred while calling the service':

SS_groix_prmb_connect_edit

For information, there are several spatial reference systems : for the PostGIS layer (EPSG:2154 - RGF93 v1 / Lambert-93 - Projected), the WMS (not projected in EPSG:4326 - WGS 84) and WFS (not projected in EPSG:3857 - WGS 84 / Pseudo-Mercator).

If needed, I can share catalina.out log file.

jahow commented 1 week ago

Could you please share any error that appears in the browser console (accessed using F12)? Thanks!

image80 commented 2 days ago

Thanks so much for your help. So i'm taking the liberty to share the screen shot showing the error message and the browser console interface (Google chrome F12) when i try to edit the record. image. So, moreover, i paste the SS showing the network menu of the F12 interface. The error could come from the fact that the request for editing the file is made in type "json" instead of "xml" normally but I don't understand why. image

If needed, I can share catalina.out log file (server side). Thanks so much for your help.

jahow commented 1 day ago

This error does not ring a bell for me, unfortunately. Could you maybe share the response of the GET request that fails with a 400 code?