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] Not able to filter map, French character #2653

Open
1 task done
jolevesq opened this issue Dec 12, 2024 · 0 comments
Open
1 task done

[BUG] Not able to filter map, French character #2653

jolevesq opened this issue Dec 12, 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 filter the map from the data-table for one of our CSV file, we have this error below. The table if filtered but not the layer on the map

abstract-gv-vector.ts:231 Uncaught Error: Invalid vector layer filter (string not closed).
filter = lower(Company_Name / D�nomination_sociale_de_l'entreprise) like lower('%nova%')
internal filter = lower(Company_Name / D�nomination_sociale_de_l'entreprise) like lower('%nova%')

Expected Behavior

We should remove the weird character from data set at load time so we can filter the layer

Steps To Reproduce

  1. https://canadian-geospatial-platform.github.io/geoview/public/demos-navigator.html?config=./configs/navigator/23-csv.json
  2. Click data table and click NPRI layer
  3. Look at Company Name... column header. Sort the column and see value like �nergie Valero Inc.
  4. Try to filter on the column and you will 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