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

CSW TransactionResponse returns bad data #3104

Closed
etj opened this issue Sep 19, 2018 · 0 comments
Closed

CSW TransactionResponse returns bad data #3104

etj opened this issue Sep 19, 2018 · 0 comments

Comments

@etj
Copy link
Member

etj commented Sep 19, 2018

Describe the bug

The identifier element in /csw:TransactionResponse/csw:InsertResult/csw:BriefRecord is missing the dc ("http://purl.org/dc/elements/1.1/") namespace.
Furthermore, the other expected elements required in csw:BriefRecord are missing.

To Reproduce

  1. Perform a Transaction Insert operation
  2. You'll get a result like this:
<csw:TransactionResponse xmlns:csw="http://www.opengis.net/cat/csw/2.0.2">
   <csw:TransactionSummary>
      <csw:totalInserted>1</csw:totalInserted>
      <csw:totalUpdated>0</csw:totalUpdated>
      <csw:totalDeleted>0</csw:totalDeleted>
  </csw:TransactionSummary>
  <csw:InsertResult handleRef="handleRefValue">
      <csw:BriefRecord>
         <identifier>C3B4172C-E280-0001-4B22-1B911020BEB0</identifier>
      </csw:BriefRecord>
  </csw:InsertResult>
</csw:TransactionResponse>

Expected behavior
The csw:BriefRecord should contain

<csw:BriefRecord>
   <dc:identifier>C3B4172C-E280-0001-4B22-1B911020BEB0</identifier>
   <dc:title>Sample title</dc:title>
   ...other BriefRecord elements...
</csw:BriefRecord>

Environment:

  • GeoNetwork 3.4.3
@etj etj changed the title CSW TransactionResponse returns bad identifier field CSW TransactionResponse returns bad data Sep 19, 2018
etj added a commit to geosolutions-it/core-geonetwork that referenced this issue Sep 20, 2018
etj added a commit to geosolutions-it/core-geonetwork that referenced this issue Sep 20, 2018
etj added a commit to geosolutions-it/core-geonetwork that referenced this issue Sep 20, 2018
etj added a commit to geosolutions-it/core-geonetwork that referenced this issue Oct 1, 2018
jahow added a commit that referenced this issue Oct 11, 2018
…ponse

#3104: Apply csw-brief.xsl to Transaction response (3.4.x backport)
jahow added a commit that referenced this issue Oct 11, 2018
#3104: Apply csw-brief.xsl to Transaction response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant