Describe the bug
CSW GetRecords fails when requesting iso19139 outputSchema when the catalogue contains iso19110 metadata.
To Reproduce
Steps to reproduce the behavior:
- Load iso19110 and iso19119 metadata.
- Go to Admin console > Settings > CSW Test and select the request
csw-GetRecords | no filter | outputSchema: http://www.isotc211.org/2005/gmd. The following error is returned:
<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2.0" xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd">
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>java.lang.RuntimeException: org.fao.geonet.csw.common.exceptions.InvalidParameterValueEx: code=InvalidParameterValue, locator=OutputSchema, message=OutputSchema 'gmd' not supported for metadata with '102' (iso19110).
Corresponding XSL transformation 'gmd-summary.xsl' does not exist for this schema.
The record will not be returned in response.</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
Expected behavior
As the metadata has no conversion to iso19139 it is ignored, as it was in previous versions. The rest of the metadata is returned.
Describe the bug
CSW GetRecords fails when requesting iso19139 outputSchema when the catalogue contains iso19110 metadata.
To Reproduce
Steps to reproduce the behavior:
csw-GetRecords | no filter | outputSchema: http://www.isotc211.org/2005/gmd. The following error is returned:Expected behavior
As the metadata has no conversion to iso19139 it is ignored, as it was in previous versions. The rest of the metadata is returned.