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 indexing of iso19110 metadata with cardinalities composed of multiple ranges #7486

Merged
merged 2 commits into from
Nov 23, 2023

Conversation

josegar74
Copy link
Member

The indexing fails for iso19110 metadata with the following error when the cardinality is composed of multiple ranges:

Error at xsl:value-of on line 147 of index.xsl:
  XPTY0004: A sequence of more than one item is not allowed as the first argument of concat()

Test metadata:

https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/8c6a569e-51b3-4328-8725-cfc5e4b21a8d/formatters/xml?approved=true

Checklist

  • I have read the [contribution guidelines](https://github.com/geonetwork/core-geonetwork/blob/main/CONTRIBUTING.md
  • Pull request provided for main branch, backports managed with label
  • Good housekeeping of code, cleaning up comments, tests, and documentation
  • Clean commit history broken into understandable chucks, avoiding big commits with hundreds of files, cautious of reformatting and whitespace changes
  • Clean commit messages, longer verbose messages are encouraged
  • API Changes are identified in commit messages
  • Testing provided for features or enhancements using automatic tests)
  • User documentation provided for new features or enhancements in mannual
  • Build documentation provided for development instructions in README.md files
  • Library management using pom.xml dependency management. Update build documentation with intended library use and library tutorials or documentation

@fxprunayre fxprunayre modified the milestones: 4.4.1, 4.4.2 Nov 20, 2023
Co-authored-by: François Prunayre <fx.prunayre@gmail.com>
@josegar74 josegar74 merged commit e75ee33 into geonetwork:main Nov 23, 2023
5 checks passed
josegar74 added a commit that referenced this pull request Nov 23, 2023
… multiple ranges (#7486)

* Fix indexing of iso19110 metadata with cardinalities with multiple ranges

* Update schemas/iso19110/src/main/plugin/iso19110/index-fields/index.xsl

Co-authored-by: François Prunayre <fx.prunayre@gmail.com>

---------

Co-authored-by: François Prunayre <fx.prunayre@gmail.com>
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.

None yet

2 participants