Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix : csw server not ignoring failures #310

Merged
merged 2 commits into from
Dec 18, 2024
Merged

Conversation

f-necas
Copy link
Collaborator

@f-necas f-necas commented Dec 18, 2024

Solves errors in csw server crashing when schema hasn't requested transformations.

Now display in response :

<?xml version="1.0" encoding="UTF-8"?>
<csw:GetRecordsResponse
	xmlns:csw="http://www.opengis.net/cat/csw/2.0.2"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd">
	<csw:SearchStatus timestamp="2024-12-18T10:25:10.920103Z" />
	<csw:SearchResults numberOfRecordsMatched="1" numberOfRecordsReturned="0" elementSet="brief" nextRecord="1">
		<!--OutputSchema 'gmd' not supported for metadata with '100' (iso19110).
Corresponding XSL transformation 'gmd-brief.xsl' does not exist for this schema.
The record will not be returned in response.-->
	</csw:SearchResults>
</csw:GetRecordsResponse>

geOrchestra/geonetwork checklist

  • PR only involves cherry-picked commits from upstream.
  • PR contains custom code which will soon be available in an upstream release and can be overriden => mention core-geonetwork version if possible.
  • PR contains custom geOrchestra code, which need to be verified during future migrations.

@pmauduit
Copy link
Member

It looks like the fix is suggested here: GeoCat/core-geonetwork@6382757. I guess that if geocat is using it, we could probably as well.

@f-necas f-necas merged commit a3896f4 into georchestra-gn4.4.x Dec 18, 2024
3 checks passed
Copy link

💔 All backports failed

Status Branch Result
georchestra-gn4.2.x-23.0.x Backport failed because of merge conflicts
georchestra-gn4.2.x-24.0 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

backport --pr 310

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

f-necas added a commit that referenced this pull request Dec 18, 2024
fix : csw server not ignoring failures
f-necas added a commit that referenced this pull request Dec 18, 2024
fix : csw server not ignoring failures
f-necas added a commit that referenced this pull request Dec 18, 2024
fix : csw server not ignoring failures
f-necas added a commit that referenced this pull request Dec 18, 2024
fix : csw server not ignoring failures
@fvanderbiest fvanderbiest deleted the fix-csw-server branch December 18, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants