BiologicalRecordsCentre / UKBMS-online

Issue tracking for UKBMS online recording site
2 stars 0 forks source link

unable to download shapefile from My Sites #214

Closed IanMiddlebrook closed 3 years ago

IanMiddlebrook commented 3 years ago

Hi @DavidRoy @Gary-van-Breda

A user has identified a problem downloading the shapefile from My Sites. I tried and the same thing happened. The error message is:

<_ServiceExceptionReport xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2.0" xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd"> java.lang.RuntimeException: java.io.IOException java.io.IOExceptionorg.postgresql.util.PSQLException: ERROR: invalid input syntax for integer: "" Position: 350 ERROR: invalid input syntax for integer: "" Position: 350
Gary-van-Breda commented 3 years ago

@IanMiddlebrook : the reason is that there is no location type selected by default: whilst I figure out how to sort this, the work around is to select the location type in the filter (e.g. Transect), then re-run the report: the link should then work.

IanMiddlebrook commented 3 years ago

Thanks @Gary-van-Breda, I've passed that on to the recorder.

Gary-van-Breda commented 3 years ago

@IanMiddlebrook : fix applied to footer definition, which removes the location_type_id filter from the download url if not provided.

IanMiddlebrook commented 3 years ago

Thanks @Gary-van-Breda