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

Unable to validate iso19139 records which use regions keywords. #7207

Closed
ianwallen opened this issue Jul 6, 2023 · 1 comment
Closed

Unable to validate iso19139 records which use regions keywords. #7207

ianwallen opened this issue Jul 6, 2023 · 1 comment
Milestone

Comments

@ianwallen
Copy link
Contributor

Describe the bug
Unable to properly validate records which use regions keywords.

image

To Reproduce
Steps to reproduce the behavior:

  1. Create iso19139 record and assign a keyword from the regions
    image
  2. Validate the record'
  3. See the following error with validation
    image

Expected behavior
Expecting to be able to validate the record.

Desktop (please complete the following information):

  • Browser chrome
  • GeoNetwork Version 3.12.10/4.2.5.snapshot
  • Server Application jetty

Additional context
Issue could have also been created from the following PR
#6972

It seems like the dates in the following file are incorrect.

<dcterms:issued>2015-07-17 12:00:00</dcterms:issued>
<dcterms:modified>2015-07-17 12:00:00</dcterms:modified>

So we could simply update the date on that thesaurus.
Or we could enhance that PR and add better date handling

Not sure what the recommended solution would be?

@ianwallen ianwallen changed the title Unable to properly validate records which use regions keywords. Unable to validate iso19139 records which use regions keywords. Jul 6, 2023
@fxprunayre fxprunayre added this to the 4.2.5 milestone Jul 7, 2023
fxprunayre added a commit that referenced this issue Jul 7, 2023
@fxprunayre
Copy link
Member

Updated the date in the default thesaurus.
#7208 for the coming release.

Not sure what the recommended solution would be?

As we now set the dates in ISO records, maybe we should only accept valid ISO date format from thesaurus ?

josegar74 pushed a commit that referenced this issue Jul 7, 2023
fxprunayre added a commit to eea/geonetwork-eea that referenced this issue Sep 20, 2023
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

2 participants