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 fix #274

Merged
merged 5 commits into from
Jan 10, 2024
Merged

CSW fix #274

merged 5 commits into from
Jan 10, 2024

Conversation

f-necas
Copy link
Collaborator

@f-necas f-necas commented Jan 9, 2024

CSW Fix

Fixes two errors :

  • Allows % char in filters
  • Mapstore request

Original pending PR :
geonetwork/core-geonetwork#7529

Some tests are actually not working but REST requests passes.

To discuss :

Migrate to geotools 30 to stick with upstream. Could be done after upstream PR is merged

Issue impacted :

f-necas and others added 5 commits January 5, 2024 10:42
…earch query / Escape Elasticsearch special chars in EQUAL / NOT EQUAL literal queries
…earch query / Escape Elasticsearch special chars in IS LIKE literal queries
@fvanderbiest fvanderbiest added this to the 23.0.5 milestone Jan 9, 2024
Copy link
Contributor

@jeanmi151 jeanmi151 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested with local build it is working!
well done

@f-necas f-necas merged commit eda8d2a into georchestra-gn4.2.x Jan 10, 2024
1 check failed
@f-necas f-necas deleted the csw-fix branch January 10, 2024 11:14
f-necas added a commit that referenced this pull request Jan 10, 2024
* Revert #253

* CSW GetRecords doesn't escape query values when creating the Elasticsearch query. Fixes #7527

* CSW GetRecords doesn't escape query values when creating the Elasticsearch query / Escape Elasticsearch special chars in EQUAL / NOT EQUAL literal queries

* CSW GetRecords doesn't escape query values when creating the Elasticsearch query / Escape Elasticsearch special chars in IS LIKE literal queries

* Reset geotools usage and comments tests

---------

Co-authored-by: Jose García <josegar74@gmail.com>
f-necas added a commit that referenced this pull request Jan 25, 2024
* Revert #253

* CSW GetRecords doesn't escape query values when creating the Elasticsearch query. Fixes #7527

* CSW GetRecords doesn't escape query values when creating the Elasticsearch query / Escape Elasticsearch special chars in EQUAL / NOT EQUAL literal queries

* CSW GetRecords doesn't escape query values when creating the Elasticsearch query / Escape Elasticsearch special chars in IS LIKE literal queries

* Reset geotools usage and comments tests

---------

Co-authored-by: Jose García <josegar74@gmail.com>
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

Successfully merging this pull request may close these issues.

4 participants