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

Problem with XML metadatas parsing #587

Open
jusabatier opened this issue Jan 12, 2023 · 2 comments
Open

Problem with XML metadatas parsing #587

jusabatier opened this issue Jan 12, 2023 · 2 comments

Comments

@jusabatier
Copy link
Contributor

Describe the bug
When clicking on the metadata button of a layer from the TOC, it only show the metadata link in the popup, XML data isn't parsed (title, desc, dates, ...)
Here it not works : https://geoportail.lepuyenvelay.fr/mapstore/#/context/Test

It only happen in context, not when using the home viewer.
Here it works : https://geoportail.lepuyenvelay.fr/mapstore/msiframe/?x=432356.50&y=5628270.98&z=11&lb=1&layers=plu:zone_urba

To Reproduce
Steps to reproduce the behavior:

  1. Open a context
  2. Add some layer from GS's WMS server with both html and xml metadata linked
  3. Select it and click on its metadata button
  4. Only URL appear in popup

Expected behavior
We should have all MD informations like title, description, dates, contacts, etc..

Screenshots
image

image

@landryb
Copy link
Member

landryb commented Jul 16, 2024

the code handling that is in https://github.com/geosolutions-it/MapStore2/blob/2023.02.xx/web/client/epics/catalog.js#L377 - does your text/xml md link finish with the xml view ? here it works fine.

@jusabatier
Copy link
Contributor Author

I don't think the MD link is the problem as it work fine on the MS home viewer.
It looks like it's handled differently on contexts viewers.

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