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

[BUG] Data-Table filter on field name with / #2623

Open
1 task done
jolevesq opened this issue Nov 29, 2024 · 0 comments
Open
1 task done

[BUG] Data-Table filter on field name with / #2623

jolevesq opened this issue Nov 29, 2024 · 0 comments

Comments

@jolevesq
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When we have field name with /, there is a bug with filtering

geoview-renderer.ts:594 Uncaught Error: Invalid vector layer filter (/ operator error).
    at featureIsNotVisible (geoview-renderer.ts:594:11)
    at String.processSimplePoint (geoview-renderer.ts:801:9)
    at getAndCreateFeatureStyle (geoview-renderer.ts:1548:45)
    at Function.calculateStyleForFeature (abstr

Expected Behavior

We should manage field with / in name

Steps To Reproduce

  1. https://canadian-geospatial-platform.github.io/geoview/public/demos-navigator.html?config=./configs/navigator/23-csv.json
  2. Select Data Table then click on NPRI .... layer
  3. Apply filter on first column
  4. See error

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant