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

Identifying (GetFeatureInfo) on a WMS layer in the map only shows data in columns with a lowercase title #8353

Open
mbrunger opened this issue Sep 5, 2024 · 2 comments

Comments

@mbrunger
Copy link

mbrunger commented Sep 5, 2024

Clicking in the map to identify the table of a WMS layer shows all the columns but only the columns with a lowercase title show the data. Columns with one or more capital letters in the title show the '-' no data symbol (see screenshots) while they actually contain data. I tested with WMS-services from different organizations to rule out an issue with the services. I also compared different GeoNetwork versions and this behavior seems to exists only in version 3.12.x starting from 3.12.10. In version 3.12.9 and 4.0 it works fine and data in columns with capitals is shown properly.

image

image

Steps to reproduce the behavior:

  1. Start GeoNetwork and go to the map
  2. Add a WMS service layer. For example a layer from https://geodata.zuid-holland.nl/landelijk_gebied/wms? or https://service.pdok.nl/rws/weggeg/wms/v1_0?
  3. Click in the map on a location with data.
  4. Look at the table. In GeoNetwork 3.12.10 and 3.12.11 only the columns with lowercase titles show the data. The columns with capitals show no data ('-').

Test environments:

@josegar74
Copy link
Member

josegar74 commented Sep 6, 2024

@mbrunger
Copy link
Author

Thanks @josegar74

Reverting the 2 changes you mentioned has made it work. Data from all columns (snakecase and no snakecase) is now visible again.

josegar74 added a commit to GeoCat/core-geonetwork that referenced this issue Sep 16, 2024
…a in columns with a lowercase title. Fixes geonetwork#8353.

Affects only 3.12.x branch. Follow up of geonetwork#6802
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